summaryrefslogtreecommitdiff
path: root/ext/iconv/config.m4
diff options
context:
space:
mode:
authorYasuo Ohgaki <yohgaki@php.net>2002-08-08 01:46:07 +0000
committerYasuo Ohgaki <yohgaki@php.net>2002-08-08 01:46:07 +0000
commit19df86f3882e9231a70290d4266579a2915115f9 (patch)
treea364aec231656abbbeb153992b9abeb99ed1c346 /ext/iconv/config.m4
parentc4b11d2447fdeab5659d31b5a8f82dd8bfe2490f (diff)
downloadphp-git-19df86f3882e9231a70290d4266579a2915115f9.tar.gz
Fix build
Diffstat (limited to 'ext/iconv/config.m4')
-rw-r--r--ext/iconv/config.m43
1 files changed, 2 insertions, 1 deletions
diff --git a/ext/iconv/config.m4 b/ext/iconv/config.m4
index 61b3998bb0..063937fa93 100644
--- a/ext/iconv/config.m4
+++ b/ext/iconv/config.m4
@@ -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)
], [