1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-28 05:29:48 +00:00
freebsd-ports/www/mod_cplusplus/files/patch-configure.in
Martin Wilke e881321bb0 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 <durian at shadetreesoftware.com>
2006-12-30 23:24:37 +00:00

47 lines
1.5 KiB
Plaintext

*** 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`