summaryrefslogtreecommitdiff
path: root/buildconf
diff options
context:
space:
mode:
authorfoobar <sniper@php.net>2005-02-03 17:42:42 +0000
committerfoobar <sniper@php.net>2005-02-03 17:42:42 +0000
commit996c9d85d7cee9a9b289d39a96c8af77e0b30821 (patch)
tree2f7999405422dcf5508e97c6d063d715eaaa100e /buildconf
parentfda27b44656049c80eb774ca06fcd3aa45205b08 (diff)
downloadphp-git-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 ccad6cf135..8b91c3b147 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