hyanantha Fri Oct 28 02:28:50 2005 EDT
Modified files: (Branch: PHP_5_0)
/php-src/ext/mbstring config.m4
Log:
NetWare LibC SDK has stdarg.h
http://cvs.php.net/diff.php/php-src/ext/mbstring/config.m4?r1=1.51.2.4&r2=1.51.2.5&ty=u
Index: php-src/ext/mbstring/config.m4
diff -u php-src/ext/mbstring/config.m4:1.51.2.4
php-src/ext/mbstring/config.m4:1.51.2.5
--- php-src/ext/mbstring/config.m4:1.51.2.4 Wed Oct 26 09:51:58 2005
+++ php-src/ext/mbstring/config.m4 Fri Oct 28 02:28:44 2005
@@ -1,5 +1,5 @@
dnl
-dnl $Id: config.m4,v 1.51.2.4 2005/10/26 13:51:58 tony2001 Exp $
+dnl $Id: config.m4,v 1.51.2.5 2005/10/28 06:28:44 hyanantha Exp $
dnl
AC_DEFUN([PHP_MBSTRING_ADD_SOURCES], [
@@ -66,7 +66,19 @@
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])
--
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php