php-src/ext/xml/config.m4
Stig Bakken 2c0ad3ee25 last bunch of extensions moving to ext/
fhttpd module taken out of functions, functions is ready to go.
The only extensions I have tested are gd+freetype and odbc(solid).
Please try compiling in your favourite extensions and let me know how it
works.
1999-04-22 02:48:28 +00:00

25 lines
540 B
Plaintext

dnl $Id$
AC_MSG_CHECKING(for XML support)
AC_ARG_WITH(xml,
[ --with-xml Include XML support],[
if test "$withval" != "no"; then
if test "$withval" = "yes"; then
XML_LIBS="-lexpat"
XML_INCLUDE=""
else
XML_LIBS="-L$withval/lib -lexpat"
XML_INCLUDE="-I$withval/include"
fi
AC_DEFINE(HAVE_LIBEXPAT, 1)
AC_MSG_RESULT(yes)
PHP_EXTENSION(xml)
EXTRA_LIBS="$EXTRA_LIBS $XML_LIBS"
INCLUDES="$INCLUDES $XML_INCLUDE"
else
AC_MSG_RESULT(no)
fi
],[
AC_MSG_RESULT(no)
])