diff options
author | foobar <sniper@php.net> | 2006-01-03 13:25:06 +0000 |
---|---|---|
committer | foobar <sniper@php.net> | 2006-01-03 13:25:06 +0000 |
commit | 22f4a0514999f3d4a94af6cab44754ffffeb7231 (patch) | |
tree | 1cf709ee2ae0eacf9f4ddf2c686bfbd4e333bc21 | |
parent | 58576f71c3d8022b2e584575e8ea99115a892ad7 (diff) | |
download | php-git-22f4a0514999f3d4a94af6cab44754ffffeb7231.tar.gz |
- prevent pontential failure with stupid compilers
-rw-r--r-- | ext/iconv/config.m4 | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/ext/iconv/config.m4 b/ext/iconv/config.m4 index 1614b1781c..e4b4677923 100644 --- a/ext/iconv/config.m4 +++ b/ext/iconv/config.m4 @@ -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" |