freebsd-ports/textproc/php4-xslt/files/patch-config.m4
Alex Dupre fb266f2381 Enable xslt_set_encoding and xslt_getopt functions.
PR:		ports/69630
Submitted by:	Martijn Broeders <martijn@zuul.nu>
2004-07-26 21:29:58 +00:00

20 lines
644 B
Text

--- config.m4.orig Mon Jul 26 23:21:42 2004
+++ config.m4 Mon Jul 26 23:24:25 2004
@@ -146,7 +146,7 @@
[
AC_DEFINE(HAVE_SABLOT_SET_ENCODING, 1, [ ])
], [], [
- -L$XSLT_DIR/lib $PHP_SABLOT_JS_LIBS
+ -L$XSLT_DIR/lib $PHP_SABLOT_JS_LIBS -lexpat -liconv
])
dnl SablotSetOptions implemented in Sablotron CVS > 2002/10/31
@@ -154,7 +154,7 @@
[
AC_DEFINE(HAVE_SABLOT_GET_OPTIONS, 1, [Whether Sablotron supports SablotGetOptions])
], [], [
- -L$XSLT_DIR/lib $PHP_SABLOT_JS_LIBS
+ -L$XSLT_DIR/lib $PHP_SABLOT_JS_LIBS -lexpat -liconv
])
AC_DEFINE(HAVE_SABLOT_BACKEND, 1, [ ])