cvs: php4 /ext/xslt config.m4

From: Date: Sun, 25 Nov 2001 22:20:26 +0000
Subject: cvs: php4 /ext/xslt config.m4
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-8311@lists.php.net to get a copy of this message
hirokawa Sun Nov 25 17:20:26 2001 EDT Modified files: /php4/ext/xslt config.m4 Log: fixed a link error in configure script. Index: php4/ext/xslt/config.m4 diff -u php4/ext/xslt/config.m4:1.9 php4/ext/xslt/config.m4:1.10 --- php4/ext/xslt/config.m4:1.9 Fri Aug 17 04:33:48 2001 +++ php4/ext/xslt/config.m4 Sun Nov 25 17:20:26 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.9 2001/08/17 08:33:48 sniper Exp $ +dnl $Id: config.m4,v 1.10 2001/11/25 22:20:26 hirokawa Exp $ PHP_ARG_ENABLE(xslt, whether to enable xslt support, [ --enable-xslt Enable xslt support]) @@ -81,8 +81,12 @@ fi AC_DEFINE(HAVE_SABLOT_BACKEND, 1, [ ]) - AC_CHECK_LIB(sablot, SablotSetEncoding, AC_DEFINE(HAVE_SABLOT_SET_ENCODING, 1, [ ])) - + if test "$found_expat" = "yes"; then + old_LIBS=$LIBS + LIBS="$LIBS -lexpat" + AC_CHECK_LIB(sablot, SablotSetEncoding, AC_DEFINE(HAVE_SABLOT_SET_ENCODING, 1, [ ])) + LIBS=$old_LIBS + fi fi PHP_ADD_INCLUDE($XSLT_DIR/include)

« previous php.cvs (#8311) next »