From: Mark Adler Date: Sun, 29 Jan 2012 16:53:53 +0000 (-0800) Subject: Exit when required parameters not provided to win32/Makefile.gcc. X-Git-Tag: v1.2.6~4 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8fbd9f13400df299c8211b7b643bdbbe1ecabd77;p=thirdparty%2Fzlib-ng.git Exit when required parameters not provided to win32/Makefile.gcc. --- diff --git a/win32/Makefile.gcc b/win32/Makefile.gcc index fddd78a80..c4a6589ce 100644 --- a/win32/Makefile.gcc +++ b/win32/Makefile.gcc @@ -123,6 +123,10 @@ zlibrc.o: win32/zlib1.rc .PHONY: install uninstall clean install: zlib.h zconf.h $(STATICLIB) $(IMPLIB) + @if test -z "$(INCLUDE_PATH)" -o -z "$(LIBRARY_PATH)" -o -z "$(BINARY_PATH)"; then \ + echo INCLUDE_PATH, LIBRARY_PATH, and BINARY_PATH must be specified; \ + exit 1; \ + fi -@mkdir -p $(INCLUDE_PATH) -@mkdir -p $(LIBRARY_PATH) $(LIBRARY_PATH)/pkgconfig -if [ "$(SHARED_MODE)" = "1" ]; then \