]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
Use find to quickly find all the src/auth Makefiles that needs to be
authorhno <>
Thu, 11 Jan 2001 07:39:35 +0000 (07:39 +0000)
committerhno <>
Thu, 11 Jan 2001 07:39:35 +0000 (07:39 +0000)
generated

configure.in

index 144675cca27cdd35efbf99124ea5849b46308c1a..09f24db35df2a222f64f4fa61fd2d4577c455231 100644 (file)
@@ -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(\