cvs: php4 /ext/xslt config.m4

From: Date: Thu, 17 Jan 2002 17:21:38 +0000
Subject: cvs: php4 /ext/xslt config.m4
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-9075@lists.php.net to get a copy of this message
sterling Thu Jan 17 12:21:38 2002 EDT Modified files: /php4/ext/xslt config.m4 Log: Update for Sablotron .8 Index: php4/ext/xslt/config.m4 diff -u php4/ext/xslt/config.m4:1.12 php4/ext/xslt/config.m4:1.13 --- php4/ext/xslt/config.m4:1.12 Fri Jan 4 09:15:23 2002 +++ php4/ext/xslt/config.m4 Thu Jan 17 12:21:37 2002 @@ -1,5 +1,5 @@ dnl -dnl $Id: config.m4,v 1.12 2002/01/04 14:15:23 hholzgra Exp $ +dnl $Id: config.m4,v 1.13 2002/01/17 17:21:37 sterling Exp $ dnl dnl +------------------------------------------------------------------------------+ dnl | This is where the magic of the extension reallly is. Depending on what | @@ -15,6 +15,9 @@ PHP_ARG_WITH(expat-dir, libexpat dir for Sablotron XSL support, [ --with-expat-dir=DIR XSLT: libexpat dir for Sablotron 0.50]) +PHP_ARG_WITH(sablot-js, enable JavaScript for Sablotron, +[ --with-sablot-js=DIR Sablotron: enable JavaScript support for Sablotron]) + if test "$PHP_XSLT" != "no"; then PHP_EXTENSION(xslt, $ext_shared) @@ -81,6 +84,14 @@ AC_MSG_ERROR([iconv not found, in order to build sablotron you need the iconv library]) fi + if test "$PHP_SABLOT_JS" != "no"; then + found_js=no + AC_CHECK_LIB(js, JS_GetRuntime, found_js=yes) + if test "$found_js" = "yes"; then + PHP_ADD_LIBRARY(js) + fi + fi + AC_DEFINE(HAVE_SABLOT_BACKEND, 1, [ ]) if test "$found_expat" = "yes"; then old_LIBS=$LIBS

« previous php.cvs (#9075) next »