- prevent pontential failure with stupid compilers
authorfoobar <sniper@php.net>
Tue, 3 Jan 2006 13:25:06 +0000 (13:25 +0000)
committerfoobar <sniper@php.net>
Tue, 3 Jan 2006 13:25:06 +0000 (13:25 +0000)
ext/iconv/config.m4

index 1614b1781c842f7a5b339f23b707b9cc814f0e9d..e4b46779237272342a477a52b1e03966a2347e15 100644 (file)
@@ -51,11 +51,11 @@ if test "$PHP_ICONV" != "no"; then
       php_iconv_old_ld="$LDFLAGS"
       LDFLAGS="-liconv $LDFLAGS"
       AC_TRY_RUN([
-        #include <$PHP_ICONV_H_PATH>
-       int main() {
-            printf("%d", _libiconv_version);
-            return 0;
-       }
+#include <$PHP_ICONV_H_PATH>
+int main() {
+       printf("%d", _libiconv_version);
+       return 0;
+}
       ],[
         AC_MSG_RESULT(yes)
         iconv_impl_name="gnu_libiconv"