From: Ruben Kerkhof Date: Fri, 6 Mar 2015 18:16:30 +0000 (+0100) Subject: Exit 1 when compiling or running pdns_hw fails X-Git-Tag: dnsdist-1.0.0-alpha1~248^2~98^2~60^2 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=82c5c3ac0dc4c48614d615652f05ddefcbe04346;p=thirdparty%2Fpdns.git Exit 1 when compiling or running pdns_hw fails --- diff --git a/pdns/Makefile-recursor b/pdns/Makefile-recursor index 81fe799efa..2b7b12a6fb 100644 --- a/pdns/Makefile-recursor +++ b/pdns/Makefile-recursor @@ -100,10 +100,11 @@ basic_checks: -$(CXX) $(CXXFLAGS) pdns_hw.cc -o pdns_hw @echo @if test -x ./pdns_hw ; \ - then if ./pdns_hw; then echo Everything ok, now run $(MAKE) using same settings \(if any\) you passed ./configure; else echo Could compile binary, but not run it, read README please ; fi; \ + then if ./pdns_hw; then echo Everything ok, now run $(MAKE) using same settings \(if any\) you passed ./configure; else echo Could compile binary, but not run it, read README please ; exit 1 ; fi; \ else \ echo; echo Could not compile simple binary, read README please; \ rm -f dep ; \ + exit 1 ; \ fi install: build-stamp