From: Ryan Bloom Date: Fri, 7 Apr 2000 18:41:09 +0000 (+0000) Subject: Add error checking in case libtoolize is not in path. X-Git-Tag: apache-doc-split-01~55 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=9566b29699b8d66fb551617ab7ce2d6145e2939f;p=apache Add error checking in case libtoolize is not in path. PR: 10 git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@84936 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/build/build.mk b/build/build.mk index 852af8a9ba..b5dbb907f2 100644 --- a/build/build.mk +++ b/build/build.mk @@ -64,6 +64,11 @@ all: $(STAMP) generated_lists @$(MAKE) AMFLAGS=$(AMFLAGS) -s -f build/build2.mk generated_lists: + @libpath=`helpers/PrintPath libtoolize`; \ + if [ "x$$libpath" = "x" ]; then \ + echo "libtoolize not found in path"; \ + exit 1; \ + fi; @echo config_m4_files = `find . -name config.m4` > $@ @n=`helpers/PrintPath libtoolize`; echo libtool_prefix = `dirname $$n`/.. >> $@