diff options
author | Ryan Bloom <rbb@apache.org> | 2000-12-26 22:48:49 +0000 |
---|---|---|
committer | Ryan Bloom <rbb@apache.org> | 2000-12-26 22:48:49 +0000 |
commit | 84ed4234861e798caf0b6519b6c6ea56eb17f493 (patch) | |
tree | 099e264d412f7e76236e9b96458a3d4ab10951f8 /build/config-stubs | |
parent | 0ef67c93b0049623e9d62dbd1e1d0d12c62c2f0a (diff) | |
download | httpd-84ed4234861e798caf0b6519b6c6ea56eb17f493.tar.gz |
Finish up the config.m4 file overhaul, so that we can load config.m4 files
in order.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@87528 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'build/config-stubs')
-rwxr-xr-x | build/config-stubs | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/build/config-stubs b/build/config-stubs index aff00a57d4..6c83b5119c 100755 --- a/build/config-stubs +++ b/build/config-stubs @@ -1,8 +1,10 @@ #!/bin/sh -dir=$1 -for stubdir in `find $dir -type d`; do - if [ -r $stubdir/config.m4 ]; then - echo "sinclude($stubdir/config.m4)" +for configfiles in `find . -name "config*.m4" | \ + sed 's#\(.*\)\/config\(.*\)\.m4#\2config.m4\1#' | \ + sort -g | \ + sed 's#\(.*\)config.m4\(.*\)#\2/config\1.m4#g'`; do + if [ -r $configfiles ]; then + echo "sinclude($configfiles)" fi done |