summaryrefslogtreecommitdiff
path: root/ext/xslt/config.m4
diff options
context:
space:
mode:
authorMelvyn Sopacua <msopacua@php.net>2002-11-10 12:18:03 +0000
committerMelvyn Sopacua <msopacua@php.net>2002-11-10 12:18:03 +0000
commitd3da22fb95b8a6d4b53df52f9edc5e822f4b3715 (patch)
tree7b7b85529d8607a0284a7957a6d45a5db9f011c1 /ext/xslt/config.m4
parent138a1695f5dcffb80f7bec1a45836b68abd5f6f0 (diff)
downloadphp-git-d3da22fb95b8a6d4b53df52f9edc5e822f4b3715.tar.gz
- implement xslt_backend_info
- add test for it - fix some prototypes
Diffstat (limited to 'ext/xslt/config.m4')
-rw-r--r--ext/xslt/config.m413
1 files changed, 13 insertions, 0 deletions
diff --git a/ext/xslt/config.m4 b/ext/xslt/config.m4
index 9d69355f3a..d721721764 100644
--- a/ext/xslt/config.m4
+++ b/ext/xslt/config.m4
@@ -58,6 +58,19 @@ if test "$PHP_XSLT" != "no"; then
fi
if test "$PHP_XSLT_SABLOT" != "no"; then
+ AC_MSG_CHECKING([for sablot-config])
+ if test -x $XSLT_DIR/bin/sablot-config ; then
+ AC_MSG_RESULT(found)
+ AC_DEFINE(HAVE_SABLOT_CONFIG, 1, [Whether the Sablotron config file is found])
+ dnl Use this script to register this information in phpinfo()
+ SABINF_CFLAGS=`$XSLT_DIR/bin/sablot-config --cflags`
+ SABINF_LIBS=`$XSLT_DIR/bin/sablot-config --libs`
+ SABINF_PREFIX=`$XSLT_DIR/bin/sablot-config --prefix`
+ SABINF_ALL="\"Cflags: $SABINF_CFLAGS\nLibs: $SABINF_LIBS\nPrefix: $SABINF_PREFIX\""
+ PHP_DEFINE(SAB_INFO, "$SABINF_ALL")
+ else
+ AC_MSG_RESULT(not found)
+ fi
AC_MSG_CHECKING([for Sablotron version])
old_CPPFLAGS=$CPPFLAGS
CPPFLAGS="$CPPFLAGS -I$XSLT_DIR/include"