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)
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
$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 \
)