]> granicus.if.org Git - php/commitdiff
- Fixed bug #25648 (xslt_set_encoding() being not detected correctly)
authorfoobar <sniper@php.net>
Wed, 24 Sep 2003 22:55:59 +0000 (22:55 +0000)
committerfoobar <sniper@php.net>
Wed, 24 Sep 2003 22:55:59 +0000 (22:55 +0000)
NEWS
ext/xslt/config.m4

diff --git a/NEWS b/NEWS
index 552a22d108a9d4c8ffad4740032ae88fc4714969..60c4c0160fdd8d2029bb8944238650ddc4c64657 100644 (file)
--- a/NEWS
+++ b/NEWS
@@ -7,6 +7,7 @@ PHP 4                                                                      NEWS
 - Fixed crash bug when non-existing save/serializer handler was used. (Jani)
 - Fixed memory leak in gethostbynamel() if an error occurs. (Sara)
 - Fixed FastCGI being unable to bind to a specific IP. (Sascha)
+- Fixed bug #25648 (xslt_set_encoding() being not detected correctly). (Jani)
 - Fixed bug #25636 (SNMP Session not closed on success). (Ilia, 
   nesslage[at]mwsc[dot]edu)
 - Fixed bug #25635 (Make "make tests" to fail due to invalid include_path). (Ilia)
index e29e2440931a46dd7f1bd99e400d30ab9530a445..bb1f96a6e1ee51bb8c1a885e5b9599bb1328ebe5 100644 (file)
@@ -56,7 +56,7 @@ if test "$PHP_XSLT" != "no"; then
   if test -z "$XSLT_DIR"; then
     AC_MSG_ERROR([not found. Please re-install the $XSLT_BACKEND_NAME distribution.])
   fi
-                                       
+                               
   if test "$PHP_XSLT_SABLOT" != "no"; then
     AC_MSG_CHECKING([for sablot-config])
     if test -x $XSLT_DIR/bin/sablot-config ; then
@@ -132,6 +132,7 @@ int main ()
       PHP_CHECK_LIBRARY(js, JS_GetRuntime,
       [
         PHP_ADD_LIBRARY_WITH_PATH(js, $PHP_SABLOT_JS_DIR/lib, XSLT_SHARED_LIBADD)
+        PHP_SABLOT_JS_LIBS=-L$PHP_SABLOT_JS_DIR/lib -ljs
       ], [
         AC_MSG_ERROR([libjs not found. Please check config.log for more information.])
       ], [
@@ -143,7 +144,7 @@ int main ()
     [
       AC_DEFINE(HAVE_SABLOT_SET_ENCODING, 1, [ ])
     ], [], [
-      -L$XSLT_DIR/lib
+      -L$XSLT_DIR/lib $PHP_SABLOT_JS_LIBS
     ])
 
     dnl SablotSetOptions implemented in Sablotron CVS > 2002/10/31
@@ -151,7 +152,7 @@ int main ()
     [
       AC_DEFINE(HAVE_SABLOT_GET_OPTIONS, 1, [Whether Sablotron supports SablotGetOptions])
     ], [], [
-      -L$XSLT_DIR/lib
+      -L$XSLT_DIR/lib $PHP_SABLOT_JS_LIBS
     ])
 
     AC_DEFINE(HAVE_SABLOT_BACKEND, 1, [ ])