summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ext/xmlrpc/config.m42
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/xmlrpc/config.m4 b/ext/xmlrpc/config.m4
index 5c1dfe85ee..34bfa919bd 100644
--- a/ext/xmlrpc/config.m4
+++ b/ext/xmlrpc/config.m4
@@ -65,7 +65,7 @@ if test "$PHP_XMLRPC" != "no"; then
PHP_ICONV=$PHP_ICONV_DIR
fi
- if test "$PHP_ICONV" = "no"; then
+ if test -z "$PHP_ICONV" || test "$PHP_ICONV" = "no"; then
PHP_ICONV=yes
fi