dnl
dnl Duane Wessels, wessels@nlanr.net, February 1996 (autoconf v2.9)
dnl
-dnl $Id: configure.in,v 1.214 2001/01/10 23:55:56 hno Exp $
+dnl $Id: configure.in,v 1.215 2001/01/11 00:39:35 hno Exp $
dnl
dnl
dnl
AC_INIT(src/main.c)
AC_CONFIG_HEADER(include/autoconf.h)
-AC_REVISION($Revision: 1.214 $)dnl
+AC_REVISION($Revision: 1.215 $)dnl
AC_PREFIX_DEFAULT(/usr/local/squid)
AC_CONFIG_AUX_DIR(cfgaux)
fi
done
+dnl This could actually be used to find all the Makefiles..
AUTH_MAKEFILES=""
-for auth in $srcdir/src/auth/* none; do
+for auth in `find $srcdir/src/auth -type d -print`; do
if test -f $auth/Makefile.in; then
- scheme=`basename $auth`
- AUTH_MAKEFILES="$AUTH_MAKEFILES ./src/auth/$scheme/Makefile"
- if test -f $auth/helpers/Makefile.in; then
- AUTH_MAKEFILES="$AUTH_MAKEFILES ./src/auth/$scheme/helpers/Makefile"
- for helper in $auth/helpers/*; do
- if test -f $helper/Makefile.in; then
- AUTH_MAKEFILES="$AUTH_MAKEFILES ./src/auth/$scheme/helpers/`basename $helper`/Makefile"
- fi
- done
- fi
-
- fi
+ dir=`echo $auth | sed -e "s|^$srcdir/||"`
+ AUTH_MAKEFILES="$AUTH_MAKEFILES ./$dir/Makefile"
+ fi
done
AC_OUTPUT(\