[Modcplusplus-devel] (gr84b8) mod_cplusplus configure.in
Brought to you by:
gr84b8,
johnksterling
From: Mod C. C. L. <mod...@so...> - 2002-03-29 23:13:29
|
Mod Cplusplus CVS committal Author : gr84b8 Module : mod_cplusplus Dir : mod_cplusplus Modified Files: configure.in Log Message: update to synch up with filter changes =================================================================== RCS file: /cvsroot/modcplusplus/mod_cplusplus/configure.in,v retrieving revision 1.6 retrieving revision 1.7 diff -u -3 -r1.6 -r1.7 --- configure.in 4 Jun 2001 00:40:35 -0000 1.6 +++ configure.in 29 Mar 2002 23:12:58 -0000 1.7 @@ -8,6 +8,18 @@ AC_MSG_CHECKING(for httpd) AC_ARG_WITH(httpd, [ --with-httpd Specify path to httpd source directory ], [ + if test ! -f $withval/build/config_vars.mk; then + AC_MSG_ERROR($withval not a valid source or shadow dir) + fi + + if grep AP_DEBUG "$withval/build/config_vars.mk" > /dev/null; then + CPPFLAGS="$CPPFLAGS -DAP_DEBUG" + fi + if grep AP_HAVE_DESIGNATED_INITIALIZER "$withval/build/config_vars.mk" > /dev/null; then + CPPFLAGS="$CPPFLAGS -DAP_HAVE_DESIGNATED_INITIALIZER" + fi + + searchfile="$withval/include/httpd.h" if test -f $searchfile ; then HTTPD_DIR=`cd $withval; pwd` @@ -21,7 +33,7 @@ ]) CPLUSPLUS_BUILDDIR=`pwd` -CPPFLAGS="$CPPFLAGS -Wall -Werror -g -I$CPLUSPLUS_BUILDDIR/include" +CPPFLAGS="$CPPFLAGS -g -I$CPLUSPLUS_BUILDDIR/include" AC_SUBST(CPLUSPLUS_BUILDDIR) AC_SUBST(HTTPD_DIR) |