]> granicus.if.org Git - php/commitdiff
Fix bug: #16823
authorfoobar <sniper@php.net>
Sun, 28 Apr 2002 01:40:05 +0000 (01:40 +0000)
committerfoobar <sniper@php.net>
Sun, 28 Apr 2002 01:40:05 +0000 (01:40 +0000)
acinclude.m4

index 1e44e48424375cbccfcb1b013cfe12ee991654e5..0e14f2255fa573f8ae4e27f1790a7a51cabf516b 100644 (file)
@@ -1255,8 +1255,8 @@ AC_DEFUN(PHP_SETUP_ICONV, [
   fi
   
   if test "$found_iconv" = "yes"; then
+    AC_DEFINE(HAVE_ICONV, 1, [ ])
     if test -n "$ICONV_DIR"; then
-      AC_DEFINE(HAVE_ICONV, 1, [ ])
       PHP_ADD_LIBRARY_WITH_PATH($iconv_lib_name, $ICONV_DIR/lib, $1)
       PHP_ADD_INCLUDE($ICONV_DIR/include)
     fi