summaryrefslogtreecommitdiff
path: root/build
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 /build
parentfda27b44656049c80eb774ca06fcd3aa45205b08 (diff)
downloadphp-git-996c9d85d7cee9a9b289d39a96c8af77e0b30821.tar.gz
- Fix buildconf with BSD make
Diffstat (limited to 'build')
-rw-r--r--build/build2.mk12
1 files changed, 2 insertions, 10 deletions
diff --git a/build/build2.mk b/build/build2.mk
index 42e20670b8..c361d0d425 100644
--- a/build/build2.mk
+++ b/build/build2.mk
@@ -32,14 +32,9 @@ acconfig_h_SOURCES = acconfig.h.in $(config_h_files)
targets = $(TOUCH_FILES) configure $(config_h_in)
-ifeq ($(SHOW_WARNINGS), no)
- SUPPRESS_WARNINGS = 2>&1 | (egrep -v '(AC_TRY_RUN called without default to allow cross compiling|AC_PROG_CXXCPP was called before AC_PROG_CXX|defined in acinclude.m4 but never used|AC_PROG_LEX invoked multiple times|AC_DECL_YYTEXT is expanded from...|the top level)'||true)
-else
- debug_target = debugging
-endif
+SUPPRESS_WARNINGS ?= 2>&1 | (egrep -v '(AC_TRY_RUN called without default to allow cross compiling|AC_PROG_CXXCPP was called before AC_PROG_CXX|defined in acinclude.m4 but never used|AC_PROG_LEX invoked multiple times|AC_DECL_YYTEXT is expanded from...|the top level)'||true)
-
-all: $(targets) $(debug_target)
+all: $(targets)
acconfig.h: $(acconfig_h_SOURCES)
@echo rebuilding $@
@@ -63,6 +58,3 @@ configure: aclocal.m4 configure.in $(config_m4_files)
@echo rebuilding $@
autoconf $(SUPPRESS_WARNINGS)
-debugging:
- @libtoolize=`./build/shtool path glibtoolize libtoolize`; \
- $$libtoolize