diff options
author | Derick Rethans <derick@php.net> | 2002-01-25 19:56:48 +0000 |
---|---|---|
committer | Derick Rethans <derick@php.net> | 2002-01-25 19:56:48 +0000 |
commit | edb0118d96b7edccf3484b507441da64164b7cad (patch) | |
tree | 8050e954b82caf409b406aaa091be32127ba8a50 /ext/xmlrpc | |
parent | 33b66a224b466d17c83f661dfad1f73a125d8a85 (diff) | |
download | php-git-edb0118d96b7edccf3484b507441da64164b7cad.tar.gz |
- Fix for bug #15227: Compiling the CGI binary with xmlrpc fails to
build/link expat
Diffstat (limited to 'ext/xmlrpc')
-rw-r--r-- | ext/xmlrpc/config.m4 | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/ext/xmlrpc/config.m4 b/ext/xmlrpc/config.m4 index 5448c24c7e..6462273cfe 100644 --- a/ext/xmlrpc/config.m4 +++ b/ext/xmlrpc/config.m4 @@ -20,7 +20,7 @@ if test "$PHP_XMLRPC" != "no"; then AC_DEFINE(HAVE_XMLRPC,1,[ ]) testval=no - for i in $PHP_EXPAT_DIR $XMLRPC_DIR; do + for i in /usr /usr/local $PHP_EXPAT_DIR $XMLRPC_DIR; do if test -f $i/lib/libexpat.a -o -f $i/lib/libexpat.$SHLIB_SUFFIX_NAME; then AC_DEFINE(HAVE_LIBEXPAT2,1,[ ]) PHP_ADD_LIBRARY_WITH_PATH(expat, $i/lib, XMLRPC_SHARED_LIBADD) @@ -29,6 +29,10 @@ if test "$PHP_XMLRPC" != "no"; then fi done + if test "$testval" = "no"; then + AC_MSG_ERROR(XML-RPC support requires libexpat. Use --with-expat-dir=<DIR>) + fi + dnl found_iconv=no AC_CHECK_LIB(c, iconv_open, found_iconv=yes) |