Changeset 431
- Timestamp:
- 03/09/10 17:52:40 (5 months ago)
- Files:
-
- 1 modified
-
trunk/configure.ac (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/configure.ac
r430 r431 31 31 32 32 AC_ARG_ENABLE([debug], 33 AC_HELP_STRING([--enable-debug],34 [turn debugging on by default]),35 AC_DEFINE(OPENPAM_DEBUG, 1, [Turn debugging on by default]))33 AC_HELP_STRING([--enable-debug], 34 [turn debugging on by default]), 35 AC_DEFINE(OPENPAM_DEBUG, 1, [Turn debugging on by default])) 36 36 37 37 AC_ARG_ENABLE([unversioned-modules], 38 AC_HELP_STRING([--disable-unversioned-modules],39 [support loading of unversioned modules]),40 [AS_IF([test x"$enableval" = x"no"], [41 AC_DEFINE(DISABLE_UNVERSIONED_MODULES,42 1,43 [Whether loading unversioned modules support is disabled])44 ])])38 AC_HELP_STRING([--disable-unversioned-modules], 39 [support loading of unversioned modules]), 40 [AS_IF([test x"$enableval" = x"no"], [ 41 AC_DEFINE(DISABLE_UNVERSIONED_MODULES, 42 1, 43 [Whether loading unversioned modules support is disabled]) 44 ])]) 45 45 46 46 AC_ARG_WITH([modules-dir], 47 AC_HELP_STRING([--with-modules-dir=DIR],48 [OpenPAM modules directory]),49 [AS_IF([test x"$withval" != x"no"], [50 OPENPAM_MODULES_DIR="$withval"51 AC_DEFINE_UNQUOTED(OPENPAM_MODULES_DIR,52 "$OPENPAM_MODULES_DIR",53 [OpenPAM modules directory])54 ], [55 OPENPAM_MODULES_DIR="$libdir"56 ])],57 [OPENPAM_MODULES_DIR="$libdir"])47 AC_HELP_STRING([--with-modules-dir=DIR], 48 [OpenPAM modules directory]), 49 [AS_IF([test x"$withval" != x"no"], [ 50 OPENPAM_MODULES_DIR="$withval" 51 AC_DEFINE_UNQUOTED(OPENPAM_MODULES_DIR, 52 "$OPENPAM_MODULES_DIR", 53 [OpenPAM modules directory]) 54 ], [ 55 OPENPAM_MODULES_DIR="$libdir" 56 ])], 57 [OPENPAM_MODULES_DIR="$libdir"]) 58 58 AC_SUBST(OPENPAM_MODULES_DIR) 59 59 60 60 AC_ARG_WITH([doc], 61 AC_HELP_STRING([--with-doc], [build documentation]),62 [],63 [with_doc=yes])61 AC_HELP_STRING([--with-doc], [build documentation]), 62 [], 63 [with_doc=yes]) 64 64 AM_CONDITIONAL([WITH_DOC], [test x"$with_doc" = x"yes"]) 65 65 66 66 AC_ARG_WITH([pam-unix], 67 AC_HELP_STRING([--with-pam-unix], [compile example version of pam_unix.so]),68 [],69 [with_pam_unix=no])67 AC_HELP_STRING([--with-pam-unix], [compile example version of pam_unix.so]), 68 [], 69 [with_pam_unix=no]) 70 70 AM_CONDITIONAL([WITH_PAM_UNIX], [test x"$with_pam_unix" = x"yes"]) 71 71 72 72 AC_ARG_WITH(su, 73 AC_HELP_STRING([--with-su], [compile example version of su(1)]),74 [],75 [with_su=no])73 AC_HELP_STRING([--with-su], [compile example version of su(1)]), 74 [], 75 [with_su=no]) 76 76 AM_CONDITIONAL([WITH_SU], [test x"$with_su" = x"yes"]) 77 77 … … 95 95 96 96 AC_ARG_ENABLE([developer-warnings], 97 AS_HELP_STRING([--enable-developer-warnings], [enable strict warnings (default is NO)]),98 [CFLAGS="${CFLAGS} -Wall -Wextra"])97 AS_HELP_STRING([--enable-developer-warnings], [enable strict warnings (default is NO)]), 98 [CFLAGS="${CFLAGS} -Wall -Wextra"]) 99 99 AC_ARG_ENABLE([debugging-symbols], 100 AS_HELP_STRING([--enable-debugging-symbols], [enable debugging symbols (default is NO)]),101 [CFLAGS="${CFLAGS} -O0 -g -fno-inline"])100 AS_HELP_STRING([--enable-debugging-symbols], [enable debugging symbols (default is NO)]), 101 [CFLAGS="${CFLAGS} -O0 -g -fno-inline"]) 102 102 AC_ARG_ENABLE([werror], 103 AS_HELP_STRING([--enable-werror], [use -Werror (default is NO)]),104 [CFLAGS="${CFLAGS} -Werror"])103 AS_HELP_STRING([--enable-werror], [use -Werror (default is NO)]), 104 [CFLAGS="${CFLAGS} -Werror"]) 105 105 106 106 AC_CONFIG_FILES([ 107 bin/Makefile108 bin/su/Makefile109 include/Makefile110 include/security/Makefile111 lib/Makefile112 modules/Makefile113 modules/pam_unix/Makefile114 modules/pam_deny/Makefile115 modules/pam_permit/Makefile116 doc/Makefile117 doc/man/Makefile118 Makefile107 bin/Makefile 108 bin/su/Makefile 109 include/Makefile 110 include/security/Makefile 111 lib/Makefile 112 modules/Makefile 113 modules/pam_unix/Makefile 114 modules/pam_deny/Makefile 115 modules/pam_permit/Makefile 116 doc/Makefile 117 doc/man/Makefile 118 Makefile 119 119 ]) 120 120 AC_OUTPUT