[Modcplusplus-devel] (johnksterling) mod_cplusplus configure.in
Brought to you by:
gr84b8,
johnksterling
From: Mod C. C. L. <mod...@so...> - 2004-11-26 18:53:54
|
Mod Cplusplus CVS committal Author : johnksterling Module : mod_cplusplus Dir : mod_cplusplus Modified Files: configure.in Log Message: more fixups using apxs =================================================================== RCS file: /cvsroot/modcplusplus/mod_cplusplus/configure.in,v retrieving revision 1.20 retrieving revision 1.21 diff -u -3 -r1.20 -r1.21 --- configure.in 26 Nov 2004 18:39:26 -0000 1.20 +++ configure.in 26 Nov 2004 18:53:46 -0000 1.21 @@ -75,12 +75,12 @@ AC_ARG_WITH(apxs, [ --with-apxs Specify path to apxs ], [ if test -f $withval; then - inc=`$withval -q INCLUDEDIR` + INCLUDE_DIR=`$withval -q INCLUDEDIR` HTTPD_DIR=`$withval -q PREFIX` CONF_DIR=`$withval -q SYSCONFDIR` MODULES_DIR=`$withval -q LIBEXECDIR` APXS=$withval - CPPFLAGS="$CPPFLAGS -I$inc" + CPPFLAGS="$CPPFLAGS -I$INCLUDE_DIR" AC_MSG_RESULT(found $withval) else AC_MSG_RESULT($withval not found) @@ -91,8 +91,8 @@ CONF_DIR=`$withval -q SYSCONFDIR` MODULES_DIR=`$withval -q LIBEXECDIR` APXS=$withval - inc=`$withval -q INCLUDEDIR` - CPPFLAGS="$CPPFLAGS -I$inc" + INCLUDE_DIR=`$withval -q INCLUDEDIR` + CPPFLAGS="$CPPFLAGS -I$INCLUDE_DIR" else AC_MSG_ERROR($withval not found. APXS installation cannot be located!) fi @@ -109,6 +109,7 @@ AC_SUBST(CPLUSPLUS_BUILDDIR) AC_SUBST(MODULES_DIR) +AC_SUBST(INCLUDE_DIR) AC_SUBST(CONF_DIR) AC_SUBST(APXS) AC_SUBST(CFLAGS) |