summaryrefslogtreecommitdiff
path: root/buildconf
diff options
context:
space:
mode:
authorfoobar <sniper@php.net>2005-02-03 17:42:42 (GMT)
committerfoobar <sniper@php.net>2005-02-03 17:42:42 (GMT)
commit996c9d85d7cee9a9b289d39a96c8af77e0b30821 (patch)
tree2f7999405422dcf5508e97c6d063d715eaaa100e /buildconf
parentfda27b44656049c80eb774ca06fcd3aa45205b08 (diff)
downloadphp-996c9d85d7cee9a9b289d39a96c8af77e0b30821.tar.gz
- Fix buildconf with BSD make
Diffstat (limited to 'buildconf')
-rwxr-xr-xbuildconf6
1 files changed, 5 insertions, 1 deletions
diff --git a/buildconf b/buildconf
index ccad6cf..8b91c3b 100755
--- a/buildconf
+++ b/buildconf
@@ -66,4 +66,8 @@ fi
rm -f generated_lists
-${MAKE:-make} -s -f build/build.mk AMFLAGS="$automake_flags" ZENDDIR="$ZENDDIR" SHOW_WARNINGS="$debug"
+if test "$debug" = "yes"; then
+ ${MAKE:-make} -s -f build/build.mk AMFLAGS="$automake_flags" ZENDDIR="$ZENDDIR" SUPPRESS_WARNINGS=""
+else
+ ${MAKE:-make} -s -f build/build.mk AMFLAGS="$automake_flags" ZENDDIR="$ZENDDIR"
+fi