]> granicus.if.org Git - sudo/commitdiff
Add description for NO_PAM_SESSION, from a redhat patch.
authorTodd C. Miller <Todd.Miller@courtesan.com>
Sun, 8 Jun 2008 21:37:25 +0000 (21:37 +0000)
committerTodd C. Miller <Todd.Miller@courtesan.com>
Sun, 8 Jun 2008 21:37:25 +0000 (21:37 +0000)
configure
configure.in

index d8480de3e6bf3b252391ef0c79ce645759fe532b..c066ba23910db8271c1acc563e420a3aa76a1318 100755 (executable)
--- a/configure
+++ b/configure
@@ -19490,8 +19490,9 @@ echo "${ECHO_T}yes" >&6; }
                        ;;
                no)             { echo "$as_me:$LINENO: result: no" >&5
 echo "${ECHO_T}no" >&6; }
-                           cat >>confdefs.h <<\_ACEOF
-#define NO_PAM_SESSION 1
+
+cat >>confdefs.h <<\_ACEOF
+#define NO_PAM_SESSION
 _ACEOF
 
                            ;;
index 22cd43903ccf41b9a08d9f882dc963c2f95af4ae..a4111e3483a7755e142e7e3f6d72f553d5b160fc 100644 (file)
@@ -1899,7 +1899,7 @@ if test ${with_pam-"no"} != "no"; then
                yes)    AC_MSG_RESULT(yes)
                        ;;
                no)             AC_MSG_RESULT(no)
-                           AC_DEFINE(NO_PAM_SESSION)
+                           AC_DEFINE([NO_PAM_SESSION], [], [PAM session support disabled])
                            ;;
                *)              AC_MSG_RESULT(no)
                            AC_MSG_WARN([Ignoring unknown argument to --enable-pam-session: $enableval])