From 353371874f3050bafa1a9f4d7ad7253d70165d81 Mon Sep 17 00:00:00 2001 From: Peter Eisentraut Date: Thu, 21 Sep 2000 20:17:43 +0000 Subject: Replace brain-dead Autoconf macros AC_ARG_{ENABLE,WITH} with something that's actually useful, robust, consistent. Better plan to generate aclocal.m4 as well: use m4 include directives, rather than cat. --- src/Makefile.global.in | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'src') diff --git a/src/Makefile.global.in b/src/Makefile.global.in index d0188db79f7..80069263b1e 100644 --- a/src/Makefile.global.in +++ b/src/Makefile.global.in @@ -1,4 +1,4 @@ -# $Header: /cvsroot/pgsql/src/Makefile.global.in,v 1.93 2000/09/08 18:29:20 petere Exp $ +# $Header: /cvsroot/pgsql/src/Makefile.global.in,v 1.94 2000/09/21 20:17:43 petere Exp $ #------------------------------------------------------------------------------ # All PostgreSQL makefiles include this file and use the variables it sets, @@ -156,6 +156,9 @@ CXX=@CXX@ CXXFLAGS=@CXXFLAGS@ @INCLUDES@ GCC = @GCC@ +ifeq ($(GCC), yes) + CFLAGS += -Wall -Wmissing-prototypes -Wmissing-declarations +endif ############################################################################## # -- cgit v1.2.3