blob: e3bed63ea71104eb80c37c3118cf315b7b763398 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
|
# $Source$
# $Id$
dnl Fallback for --with-xml[=DIR]
AC_ARG_WITH(xml,[],enable_xml=$withval)
AC_C_BIGENDIAN
AC_MSG_CHECKING(for XML support)
AC_ARG_ENABLE(xml,
[ --enable-xml Include XML support using bundled expat lib],[
PHP_XML=$enableval
],[
PHP_XML=no
])
AC_MSG_RESULT($PHP_XML)
if test "$PHP_XML" != "no"; then
AC_DEFINE(HAVE_LIBEXPAT, 1, [ ])
if test "$PHP_XML" = "shared"; then
shared=yes
else
shared=
fi
PHP_EXTENSION(xml, $shared)
AC_ADD_INCLUDE(${ext_src_base}expat/xmltok)
AC_ADD_INCLUDE(${ext_src_base}expat/xmlparse)
PHP_FAST_OUTPUT(${ext_base}expat/Makefile ${ext_base}expat/xmlparse/Makefile ${ext_base}expat/xmltok/Makefile)
fi
|