From: Ryan Bloom Date: Sat, 30 Dec 2000 18:20:03 +0000 (+0000) Subject: Find all config.m4 files when building generated_lists. Also, convert X-Git-Tag: APACHE_2_0_BETA_CANDIDATE_1~300 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=ad377b5c8e5e478aa3758e9189394ba0df63d3fb;p=apache Find all config.m4 files when building generated_lists. Also, convert the sort to use 'sort -n -b'. These arguments are specified by single unix, so they should be portable. This restores the ability to order the config.m4 files. Submitted by: Dale Ghent git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@87555 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/build/build.mk b/build/build.mk index a45069dcba..0f3b2024f5 100644 --- a/build/build.mk +++ b/build/build.mk @@ -91,7 +91,7 @@ generated_lists: echo "libtoolize not found in path"; \ exit 1; \ fi; - @echo config_m4_files = `find . -name config.m4` > $@ + @echo config_m4_files = `find . -name config*.m4` > $@ @n=`build/PrintPath libtoolize`; echo libtool_prefix = `dirname $$n`/.. >> $@ $(STAMP): build/buildcheck.sh diff --git a/build/config-stubs b/build/config-stubs index 533b5a072b..918f6ed755 100755 --- a/build/config-stubs +++ b/build/config-stubs @@ -2,7 +2,7 @@ for configfiles in `find . -name "config*.m4" | \ sed 's#\(.*\)\/config\(.*\)\.m4#\2config.m4\1#' | \ - sort | \ + sort -n -b | \ sed 's#\(.*\)config.m4\(.*\)#\2/config\1.m4#g'`; do if [ -r $configfiles ]; then echo "sinclude($configfiles)"