Changeset 431

Show
Ignore:
Timestamp:
03/09/10 17:52:40 (5 months ago)
Author:
des
Message:

outdent

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/configure.ac

    r430 r431  
    3131 
    3232AC_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])) 
    3636 
    3737AC_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    ])]) 
    4545 
    4646AC_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"]) 
    5858AC_SUBST(OPENPAM_MODULES_DIR) 
    5959 
    6060AC_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]) 
    6464AM_CONDITIONAL([WITH_DOC], [test x"$with_doc" = x"yes"]) 
    6565 
    6666AC_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]) 
    7070AM_CONDITIONAL([WITH_PAM_UNIX], [test x"$with_pam_unix" = x"yes"]) 
    7171 
    7272AC_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]) 
    7676AM_CONDITIONAL([WITH_SU], [test x"$with_su" = x"yes"]) 
    7777 
     
    9595 
    9696AC_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"]) 
    9999AC_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"]) 
    102102AC_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"]) 
    105105 
    106106AC_CONFIG_FILES([ 
    107         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 
     107    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 
    119119]) 
    120120AC_OUTPUT