s3: build with pam support when possible
authorBjörn Jacke <bj@sernet.de>
Thu, 17 Sep 2009 19:04:52 +0000 (21:04 +0200)
committerBjörn Jacke <bj@sernet.de>
Thu, 17 Sep 2009 19:05:54 +0000 (21:05 +0200)
source3/configure.in

index a922e3fb7ee6732a70d195062f4bfb57426a6c17..e298ec658cf45aab2a1ee363b0e4d79377977f10 100644 (file)
@@ -4117,12 +4117,12 @@ AC_ARG_WITH(cifsupcall,
 # /usr/include/pam.
 
 with_pam_for_crypt=no
-try_pam=no
+try_pam=auto
 AC_MSG_CHECKING(whether to try PAM support)
 AC_ARG_WITH(pam,
-[AS_HELP_STRING([--with-pam], [Include PAM support (default=no)])],
+[AS_HELP_STRING([--with-pam], [Include PAM support (default=auto)])],
 [ case "$withval" in
-  yes|no)
+  yes|no|auto)
     try_pam=$withval
     ;;
   esac