From: hno <> Date: Tue, 2 May 2000 03:14:57 +0000 (+0000) Subject: --enable-auth-modules configure option, and relevant Makefile cleanup X-Git-Tag: SQUID_3_0_PRE1~2035 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=380f0a87ae11f5f286a7df5bbd25225d28c42852;p=thirdparty%2Fsquid.git --enable-auth-modules configure option, and relevant Makefile cleanup --- diff --git a/configure.in b/configure.in index 871946ae16..272df009fd 100644 --- a/configure.in +++ b/configure.in @@ -3,13 +3,13 @@ dnl Configuration input file for Squid dnl dnl Duane Wessels, wessels@nlanr.net, February 1996 (autoconf v2.9) dnl -dnl $Id: configure.in,v 1.183 2000/03/27 21:56:20 wessels Exp $ +dnl $Id: configure.in,v 1.184 2000/05/01 21:14:57 hno Exp $ dnl dnl dnl AC_INIT(src/main.c) AC_CONFIG_HEADER(include/autoconf.h) -AC_REVISION($Revision: 1.183 $)dnl +AC_REVISION($Revision: 1.184 $)dnl AC_PREFIX_DEFAULT(/usr/local/squid) AC_CONFIG_AUX_DIR(cfgaux) @@ -554,6 +554,33 @@ AC_ARG_ENABLE(heap-replacement, fi ]) +dnl Select auth modules to build +AUTH_MODULES= +AC_ARG_ENABLE(auth-modules, +[ --enable-auth-modules=\"list of modules\" + This option selects wich proxy_auth helper modules + to build and install as part of the normal build + process. For a list of available modules see + the auth_modules directory.], +[ case "$enableval" in + yes) + for module in $srcdir/auth_modules/*; do + if test -f $module/Makefile.in; then + AUTH_MODULES="$AUTH_MODULES `basename $module`" + fi + done + ;; + no) + ;; + *) + AUTH_MODULES="`echo $enableval| sed -e 's/,/ /g;s/ */ /g'`" + esac +]) +if test -n "$AUTH_MODULES"; then + echo "Auth moules built: $AUTH_MODULES" +fi +AC_SUBST(AUTH_MODULES) + dnl Enable "diskd" code AC_ARG_ENABLE(diskd, [ --enable-diskd Uses shared memory, message queues, and external @@ -1480,10 +1507,11 @@ AC_OUTPUT(\ $SNMP_MAKEFILE \ ./icons/Makefile \ ./errors/Makefile \ - ./auth_modules/dummy \ + ./auth_modules/Makefile \ ./auth_modules/NCSA/Makefile \ ./auth_modules/PAM/Makefile \ - ./auth_modules/SMB/Makefile + ./auth_modules/SMB/Makefile \ + ./auth_modules/MSNT/Makefile \ ./auth_modules/getpwnam/Makefile \ ./auth_modules/LDAP/Makefile \ )