Skip to contentSkip to conversation

tools/libxc - Remove duplicate zlib check

PATCH New Bastian Blank 1 participant 1 message Jan 26, 2008

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 tools/libxc - Remove duplicate zlib check

# HG changeset patch
# User Bastian Blank <[email protected]>
# Date 1201364477 -3600
# Node ID e3ab6b142786abdbce8d58f4c72c6f068417692c # Parent 3e8a713b70e99d79b8af3d6ee5c7d3bc1db606e1 Remove duplicate zlib check.

It is already checked in tools/check/check_zlib.

tools/libxc/Makefile +1 -10
diff -r 3e8a713b70e9 -r e3ab6b142786 tools/libxc/Makefile
@@ -80,17 +80,8 @@ all: build
 all: build
 
 .PHONY: build
-build: check-for-zlib
+build: $(LIB)
 	$(MAKE) $(LIB)
-
-.PHONY: check-for-zlib
-check-for-zlib:
-	@if [ ! -e /usr/include/zlib.h ]; then \
-	echo "***********************************************************"; \
-	echo "ERROR: install zlib header files (http://www.gzip.org/zlib)"; \
-	echo "***********************************************************"; \
-	false; \
-	fi
 
 .PHONY: install
 install: build