]> granicus.if.org Git - apache/commitdiff
Explicitly list in which directories to look for config*.m4 files.
authorStefan Fritsch <sf@apache.org>
Sat, 16 Nov 2013 23:49:04 +0000 (23:49 +0000)
committerStefan Fritsch <sf@apache.org>
Sat, 16 Nov 2013 23:49:04 +0000 (23:49 +0000)
If some distributor patches a config*.m4 file with quilt, that will
place a copy of the original file in .pc/ . Doing a naive "find ."
will then cause both the original and the patched m4 file to be included,
causing havoc later on.

PR: 55787

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1542615 13f79535-47bb-0310-9956-ffa450edef68

build/config-stubs

index 425dc80268a9ff2d80707cb463a9b6309d34b45d..3cc6991175ae978a31fa771f8b74235da8327449 100755 (executable)
@@ -15,7 +15,7 @@
 # config files without a number are sorted before those with a number.
 #
 
-configfiles=`find . -name "config*.m4" | \
+configfiles=`find os server modules support -name "config*.m4" | \
        sed 's#\(.*/config\)\(.*\).m4#\20 \1\2.m4#' | \
        sort | \
        sed 's#.* ##'`