From b19a48bc44d73cb4d2fd4cd1e4b2f21e0b056356 Mon Sep 17 00:00:00 2001 From: Manoj Kasichainula Date: Thu, 2 Mar 2000 02:01:03 +0000 Subject: [PATCH] A little CFLAGS reformation. Additions to Apache's CFLAGS should be using EXTRA_CFLAGS instead, so we don't affect packages that Apache configures. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@84690 13f79535-47bb-0310-9956-ffa450edef68 --- configure.in | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/configure.in b/configure.in index e8818d26ca..71fbc940a3 100644 --- a/configure.in +++ b/configure.in @@ -16,9 +16,6 @@ APACHE_SUBST(APACHE_VERSION) test "$exec_prefix" = "NONE" && exec_prefix='${prefix}' test "$prefix" = "NONE" && prefix='/usr/local' -dnl We want this one before the checks, so the checks can modify CFLAGS -test -z "$CFLAGS" && auto_cflags=1 - dnl Needed for APACHE_MODULE() to work cwd=`pwd` @@ -113,7 +110,7 @@ fi dnl ## Checking command-line options test -n "$GCC" && test "$USE_MAINTAINER_MODE" = "yes" && \ - CFLAGS="$CFLAGS -g -Wall -Wmissing-prototypes -Wstrict-prototypes -Wmissing-declarations" + EXTRA_CFLAGS="$EXTRA_CFLAGS -g -Wall -Wmissing-prototypes -Wstrict-prototypes -Wmissing-declarations" APACHE_ENABLE_LAYOUT APACHE_ENABLE_MODULES @@ -147,7 +144,7 @@ if test "$apache_need_shared" = "yes"; then $SHELL $srcdir/ltconfig --output=shlibtool --disable-static --srcdir=$srcdir --cache-file=./config.cache $srcdir/ltmain.sh fi -CFLAGS="$CFLAGS \`\$(abs_srcdir)/apaci\`" +EXTRA_CFLAGS="$EXTRA_CFLAGS \`\$(abs_srcdir)/apaci\`" APACHE_FAST_OUTPUT(apaci Makefile ap/Makefile lib/Makefile main/Makefile modules/Makefile os/Makefile) -- 2.50.1