From: hno <> Date: Thu, 11 Jan 2001 07:39:35 +0000 (+0000) Subject: Use find to quickly find all the src/auth Makefiles that needs to be X-Git-Tag: SQUID_3_0_PRE1~1647 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=63bf42aedae1e602ff23f677995b1e7770d3de43;p=thirdparty%2Fsquid.git Use find to quickly find all the src/auth Makefiles that needs to be generated --- diff --git a/configure.in b/configure.in index 144675cca2..09f24db35d 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.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) @@ -1794,21 +1794,13 @@ for repl in $REPL_POLICIES none; do 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(\