From: Stefan Fritsch Date: Sat, 16 Nov 2013 23:49:04 +0000 (+0000) Subject: Explicitly list in which directories to look for config*.m4 files. X-Git-Tag: 2.5.0-alpha~4849 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=5c02313fb3a47510b0e099ef87b02430c174fb4f;p=apache Explicitly list in which directories to look for config*.m4 files. 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 --- diff --git a/build/config-stubs b/build/config-stubs index 425dc80268..3cc6991175 100755 --- a/build/config-stubs +++ b/build/config-stubs @@ -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#.* ##'`