AC_MSG_ERROR(XML-RPC support requires libexpat. Use --with-expat-dir=<DIR>)
fi
+ if test "$PHP_ICONV" = "no"; then
+ PHP_ICONV=yes
+ fi
PHP_SETUP_ICONV(XMLRPC_SHARED_LIBADD, [], [
AC_MSG_ERROR([iconv not found, in order to build xmlrpc you need the iconv library])
])
AC_MSG_ERROR(XML-RPC support requires libexpat. Use --with-expat-dir=<DIR>)
fi
+ if test "$PHP_ICONV" = "no"; then
+ PHP_ICONV=yes
+ fi
PHP_SETUP_ICONV(XMLRPC_SHARED_LIBADD, [], [
AC_MSG_ERROR([iconv not found, in order to build xmlrpc you need the iconv library])
])
if test "$PHP_XSLT_SABLOT" != "no"; then
found_expat=no
for i in $PHP_EXPAT_DIR $XSLT_DIR; do
- if test -f $i/lib/libexpat.a -o -f $i/lib/libexpat.so; then
+ if test -f $i/lib/libexpat.a -o -f $i/lib/libexpat.$SHLIB_SUFFIX_NAME; then
AC_DEFINE(HAVE_LIBEXPAT2, 1, [ ])
PHP_ADD_INCLUDE($i/include)
PHP_ADD_LIBRARY_WITH_PATH(expat, $i/lib, XSLT_SHARED_LIBADD)
PHP_ADD_LIBRARY(xmltok)
fi
+ if test "$PHP_ICONV" = "no"; then
+ PHP_ICONV=yes
+ fi
PHP_SETUP_ICONV(XSLT_SHARED_LIBADD, [], [
AC_MSG_ERROR([iconv not found, in order to build sablotron you need the iconv library])
])