Enlightenment CVS committal

Author  : xcomputerman
Project : e17
Module  : apps/entrance

Dir     : e17/apps/entrance


Modified Files:
        configure.in 


Log Message:
- Automatically set the right authentication type in config if PAM is not
  detected.
- Added a --with-auth-mode configure option that will set the auth mode in
  config at compile time (overriding the detected value).

===================================================================
RCS file: /cvsroot/enlightenment/e17/apps/entrance/configure.in,v
retrieving revision 1.15
retrieving revision 1.16
diff -u -3 -r1.15 -r1.16
--- configure.in        22 Oct 2003 12:10:49 -0000      1.15
+++ configure.in        23 Oct 2003 05:52:49 -0000      1.16
@@ -121,6 +121,24 @@
        have_shadow=yes])
 fi
 
+# Default authentication mode
+auth_mode=1
+
+if test "x${have_pam}" != "xyes"; then
+    auth_mode=2
+fi
+
+AC_ARG_WITH(auth_mode,
+    [ --with-auth-mode=AUTHMODE  Specify the default authentication mode (pam or 
shadow)],
+    [
+     if test "x$withval" = "xshadow"; then
+         auth_mode=2
+     fi
+    ]
+)
+
+AC_SUBST(auth_mode)
+
 # what Xsession file we're using
 xsession=/etc/X11/xdm/Xsession
 AC_ARG_WITH(xsession,
@@ -155,6 +173,7 @@
 config/pam.d/Makefile
 data/Makefile
 data/config/Makefile
+data/config/build_config.sh
 data/fonts/Makefile
 data/images/Makefile
 data/images/sessions/Makefile




-------------------------------------------------------
This SF.net email is sponsored by OSDN developer relations
Here's your chance to show off your extensive product knowledge
We want to know what you know. Tell us and you have a chance to win $100
http://www.zoomerang.com/survey.zgi?HRPT1X3RYQNC5V4MLNSV3E54
_______________________________________________
enlightenment-cvs mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs

Reply via email to