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
This commit is contained in:
Ryan Bloom
2000-04-07 18:41:09 +00:00
parent 689a3da99b
commit 9566b29699

View File

@ -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`/.. >> $@