diff options
| author | Stig Bakken <ssb@php.net> | 1999-04-22 02:48:28 +0000 |
|---|---|---|
| committer | Stig Bakken <ssb@php.net> | 1999-04-22 02:48:28 +0000 |
| commit | 2c0ad3ee25cd8e449b02c4668a39f48998507739 (patch) | |
| tree | 8064c7ee59309ffed3d9c5b8fd5c329ede193561 /ext/xml/config.m4 | |
| parent | 2a78f92804ae6f3e32cd278afbb9aa8ec3d2f52d (diff) | |
| download | php-git-2c0ad3ee25cd8e449b02c4668a39f48998507739.tar.gz | |
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.
Diffstat (limited to 'ext/xml/config.m4')
| -rw-r--r-- | ext/xml/config.m4 | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/ext/xml/config.m4 b/ext/xml/config.m4 new file mode 100644 index 0000000000..c4b871107d --- /dev/null +++ b/ext/xml/config.m4 @@ -0,0 +1,24 @@ +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) +]) |
