cvs: php4 /ext/xslt config.m4
| From: | Thies C. Arntzen | Date: | Thu, 02 Aug 2001 11:19:18 +0000 |
| Subject: | cvs: php4 /ext/xslt config.m4 | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-6471@lists.php.net to get a copy of this message | ||
thies Thu Aug 2 07:19:18 2001 EDT
Modified files:
/php4/ext/xslt config.m4
Log:
adding -lsablot later makes it appear _before_ -lexpat in config_vars - and
that fixes a link problem (atleast) for me.
sterling?
Index: php4/ext/xslt/config.m4
diff -u php4/ext/xslt/config.m4:1.7 php4/ext/xslt/config.m4:1.8
--- php4/ext/xslt/config.m4:1.7 Sun Jul 1 21:55:42 2001
+++ php4/ext/xslt/config.m4 Thu Aug 2 07:19:18 2001
@@ -3,7 +3,7 @@
dnl | This is where the magic of the extension reallly is. Depending on what |
dnl | backend the user chooses, this script performs the magic |
dnl +------------------------------------------------------------------------------+
-dnl $Id: config.m4,v 1.7 2001/07/02 01:55:42 hirokawa Exp $
+dnl $Id: config.m4,v 1.8 2001/08/02 11:19:18 thies Exp $
PHP_ARG_ENABLE(xslt, whether to enable xslt support,
[ --enable-xslt Enable xslt support])
@@ -49,9 +49,6 @@
AC_MSG_ERROR(not found. Please re-install the $XSLT_BACKEND_NAME distribution)
fi
- PHP_ADD_INCLUDE($XSLT_DIR/include)
- PHP_ADD_LIBRARY_WITH_PATH($XSLT_LIBNAME, $XSLT_DIR/lib, XSLT_SHARED_LIBADD)
-
if test "$PHP_XSLT_SABLOT" != "no"; then
found_expat=no
for i in $PHP_EXPAT_DIR $XSLT_DIR; do
@@ -87,7 +84,11 @@
AC_DEFINE(HAVE_SABLOT_BACKEND, 1, [ ])
AC_CHECK_LIB(sablot, SablotSetEncoding, AC_DEFINE(HAVE_SABLOT_SET_ENCODING, 1, [ ]))
+
fi
+
+ 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