Skip to content

Commit

Permalink
- Fixed bug #25648 (xslt_set_encoding() being not detected correctly)
Browse files Browse the repository at this point in the history
  • Loading branch information
foobar committed Sep 24, 2003
1 parent 149d034 commit 925a3b6
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
1 change: 1 addition & 0 deletions NEWS
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
7 changes: 4 additions & 3 deletions ext/xslt/config.m4
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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.])
], [
Expand All @@ -143,15 +144,15 @@ 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
PHP_CHECK_LIBRARY(sablot, SablotGetOptions,
[
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, [ ])
Expand Down

0 comments on commit 925a3b6

Please sign in to comment.