summaryrefslogtreecommitdiffstats
path: root/build/build.mk
diff options
context:
space:
mode:
authorRyan Bloom <rbb@apache.org>2000-04-07 20:41:09 +0200
committerRyan Bloom <rbb@apache.org>2000-04-07 20:41:09 +0200
commit9566b29699b8d66fb551617ab7ce2d6145e2939f (patch)
tree690df100ab490b8f106d4469fb2871342d0c8b79 /build/build.mk
parentRecognize an EBCDIC platform during configuration and turn on (diff)
downloadapache2-9566b29699b8d66fb551617ab7ce2d6145e2939f.tar.xz
apache2-9566b29699b8d66fb551617ab7ce2d6145e2939f.zip
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
Diffstat (limited to '')
-rw-r--r--build/build.mk5
1 files changed, 5 insertions, 0 deletions
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`/.. >> $@