[patch] xslt config.m4: no link to stdc++ for Sablot
| From: | Justin Hannus | Date: | Fri, 02 Apr 2004 19:57:05 +0000 |
| Subject: | [patch] xslt config.m4: no link to stdc++ for Sablot | ||
| Groups: | php.internals | ||
| Request: | Send a blank email to internals+get-8902@lists.php.net to get a copy of this message | ||
I'm not sure if this is true for the latest release but I'm working off
php4.3.4, slackware 9.0
ext/xslt/config.m4 doesn't add -lstdc++ for Sablot (not sure if its used by
other xslt backends) so I get undefined symbols for '__gxx_personality_v0'
and the like. Patch supplied.
-- --- ./ext/xslt/config.m4.old 2004-04-02 14:36:39.000000000 -0500
+++ ./ext/xslt/config.m4 2004-04-02 14:28:46.000000000 -0500
@@ -75,6 +75,7 @@
AC_MSG_CHECKING([for Sablotron version])
old_CPPFLAGS=$CPPFLAGS
CPPFLAGS="$CPPFLAGS -I$XSLT_DIR/include"
+ PHP_ADD_LIBRARY(stdc++,,XSLT_SHARED_LIBADD)
AC_TRY_RUN([
#include <stdlib.h>
#include <sablot.h>
@@ -162,6 +163,5 @@
PHP_ADD_INCLUDE($XSLT_DIR/include)
PHP_ADD_LIBRARY_WITH_PATH($XSLT_LIBNAME, $XSLT_DIR/lib,
XSLT_SHARED_LIBADD)
-
AC_DEFINE(HAVE_XSLT, 1, [ ])
fi
---------------------------------------
Justin Hannus
Lead Programmer/Web Development
jhannus@visualconceptsinc.com
www.visualconceptsinc.com
[860] 925.6065 ext.125
[860] 925.6176