]> granicus.if.org Git - php/commitdiff
Fix build
authorYasuo Ohgaki <yohgaki@php.net>
Thu, 8 Aug 2002 01:46:07 +0000 (01:46 +0000)
committerYasuo Ohgaki <yohgaki@php.net>
Thu, 8 Aug 2002 01:46:07 +0000 (01:46 +0000)
ext/iconv/config.m4

index 61b3998bb042310368c3aead0ad32576f71abcef..063937fa93af67872e064afdab58b04f1ff5f294 100644 (file)
@@ -38,11 +38,12 @@ int main() {
 }
 ],[
        AC_MSG_RESULT(yes)
-       PHP_DEFINE(ICONV_SUPPORTS_ERRNO)
+        AC_DEFINE(ICONV_SUPPORTS_ERRNO,1,[Whether iconv supports error no or not])
 ],[
        AC_MSG_RESULT(no)
 ])
 
+    AC_DEFINE(HAVE_ICONV,1,[Whether to build ICONV support or not])
     PHP_NEW_EXTENSION(iconv, iconv.c, $ext_shared)
     PHP_SUBST(ICONV_SHARED_LIBADD)
   ], [