]> granicus.if.org Git - php/commitdiff
NetWare LibC sdk has stdarg.h
authorAnantha Kesari H Y <hyanantha@php.net>
Fri, 28 Oct 2005 07:52:58 +0000 (07:52 +0000)
committerAnantha Kesari H Y <hyanantha@php.net>
Fri, 28 Oct 2005 07:52:58 +0000 (07:52 +0000)
--Kamesh

ext/mbstring/config.m4

index 12970e30af1d18ac6821c988826f2da7f7584cdf..760891917bf4493a4d4c0072485b13e96508df2b 100644 (file)
@@ -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])