]> git.armaanb.net Git - opendoas.git/blobdiff - configure
open pam sessions with right user and remove setusercontext shim
[opendoas.git] / configure
index 2039151545ca8388d5b25ad4d652cc40b70bcb75..3e346951157a2146299a55f792fa434e52e910e0 100755 (executable)
--- a/configure
+++ b/configure
@@ -55,8 +55,8 @@ done
 CONFIG_MK=config.mk
 rm -f "$CONFIG_MK"
 
-: ${VERSION:="$(git describe --dirty --tags --long --always)"}
-# : ${VERSION:="0.1"}
+: ${VERSION:="$(git describe --dirty --tags --long --always)"}
+: ${VERSION:="0.2"}
 
 cat <<EOF >>$CONFIG_MK
 PREFIX   ?=    ${PREFIX:="/usr"}
@@ -280,18 +280,6 @@ int main(void) {
                printf 'LDFLAGS  +=     -lpam\n' >>$CONFIG_MK
        }
 
-#
-# Check for login_cap.h.
-#
-src='
-#include <login_cap.h>
-int main(void) {
-       return 0;
-}'
-check_func "login_cap_h" "$src" || {
-       printf 'OPENBSD  +=     setusercontext.o\n' >>$CONFIG_MK
-}
-
 #
 # Check for execvpe().
 #