diff options
author | Anantha Kesari H Y <hyanantha@php.net> | 2005-10-28 07:52:58 +0000 |
---|---|---|
committer | Anantha Kesari H Y <hyanantha@php.net> | 2005-10-28 07:52:58 +0000 |
commit | 3815b367d5d044eec32b3169611ea6108e34efb9 (patch) | |
tree | c285337c533fcd395817f02f79124802640af968 | |
parent | 844cb82c451d903c3e0a5b508935e8c15a74d9ed (diff) | |
download | php-git-3815b367d5d044eec32b3169611ea6108e34efb9.tar.gz |
NetWare LibC sdk has stdarg.h
--Kamesh
-rw-r--r-- | ext/mbstring/config.m4 | 14 |
1 files changed, 13 insertions, 1 deletions
diff --git a/ext/mbstring/config.m4 b/ext/mbstring/config.m4 index 12970e30af..760891917b 100644 --- a/ext/mbstring/config.m4 +++ b/ext/mbstring/config.m4 @@ -72,7 +72,19 @@ int foo(int x, ...) { return 0; } int main() { return foo(10, "", 3.14); } - ], [cv_php_mbstring_stdarg=yes], [cv_php_mbstring_stdarg=no], [cv_php_mbstring_stdarg=no]) + ], [cv_php_mbstring_stdarg=yes], [cv_php_mbstring_stdarg=no], + [ + dnl cross-compile needs something here +case $host_alias in +*netware*) +cv_php_mbstring_stdarg=yes +;; +*) +cv_php_mbstring_stdarg=no +;; +esac +] +) ]) AC_CHECK_HEADERS([stdlib.h string.h strings.h unistd.h sys/time.h sys/times.h]) |