From e881321bb08506a42198b1f78418d78fe469ba31 Mon Sep 17 00:00:00 2001 From: Martin Wilke Date: Sat, 30 Dec 2006 23:24:37 +0000 Subject: mod_cplusplus is a proper apache module which allows you to load cpp objects as handlers for Apache-2.0. It differs from other modules i've seen in that it manages the loading and calling of separate shared objects containing your handler classes. This allows you to easily and cleanly run an entire site with c++ handlers. WWW: http://modcplusplus.sourceforge.net/ PR: ports/107361 Submitted by: Michael Durian --- www/mod_cplusplus/files/patch-configure.in | 46 ++++++++++++++++++++++++++++++ 1 file changed, 46 insertions(+) create mode 100644 www/mod_cplusplus/files/patch-configure.in (limited to 'www/mod_cplusplus/files/patch-configure.in') diff --git a/www/mod_cplusplus/files/patch-configure.in b/www/mod_cplusplus/files/patch-configure.in new file mode 100644 index 000000000000..30a730368b35 --- /dev/null +++ b/www/mod_cplusplus/files/patch-configure.in @@ -0,0 +1,46 @@ +*** configure.in.orig Sat Dec 30 10:47:15 2006 +--- configure.in Sat Dec 30 10:56:16 2006 +*************** +*** 9,15 **** + dnl hack to get shlib extension + AC_MSG_CHECKING(what the shared library extension is) + eval SHLIB_EXT=\"$shrext\" +! if test "$SHLIB_EXT" == "" ; then + AC_MSG_RESULT(could not determine shared library extension. Defaulting to .so) + SHLIB_EXT=".so" + fi +--- 9,15 ---- + dnl hack to get shlib extension + AC_MSG_CHECKING(what the shared library extension is) + eval SHLIB_EXT=\"$shrext\" +! if test "x$SHLIB_EXT" = "x" ; then + AC_MSG_RESULT(could not determine shared library extension. Defaulting to .so) + SHLIB_EXT=".so" + fi +*************** +*** 58,69 **** + fi + ],) + +! if test "$INCLUDES" == "" ; then + AC_MSG_ERROR(could not generate includes with apxs set to "$APXS" - you must specify a valid path to apxs using the --with-apxs flag) + fi + + AC_CHECK_LIB(stdc++, __gxx_personality_v0, LIB_STDCPP="-lstdc++") +! if test "$LIB_STDCPP" == "" ; then + CPPFLAGS="$CPPFLAGS -DNO_STDCPP" + fi + CPLUSPLUS_BUILDDIR=`pwd` +--- 58,69 ---- + fi + ],) + +! if test "x$INCLUDES" = "x" ; then + AC_MSG_ERROR(could not generate includes with apxs set to "$APXS" - you must specify a valid path to apxs using the --with-apxs flag) + fi + + AC_CHECK_LIB(stdc++, __gxx_personality_v0, LIB_STDCPP="-lstdc++") +! if test "x$LIB_STDCPP" = "x" ; then + CPPFLAGS="$CPPFLAGS -DNO_STDCPP" + fi + CPLUSPLUS_BUILDDIR=`pwd` -- cgit v1.2.3