cvs: php-src(PHP_5_1) /ext/mbstring config.m4
| From: | Anantha Kesari H Y | Date: | Fri, 28 Oct 2005 07:53:04 +0000 |
| Subject: | cvs: php-src(PHP_5_1) /ext/mbstring config.m4 | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-34836@lists.php.net to get a copy of this message | ||
hyanantha Fri Oct 28 03:53:04 2005 EDT
Modified files: (Branch: PHP_5_1)
/php-src/ext/mbstring config.m4
Log:
NetWare LibC sdk has stdarg.h
--Kamesh
http://cvs.php.net/diff.php/php-src/ext/mbstring/config.m4?r1=1.58.2.1&r2=1.58.2.2&ty=u
Index: php-src/ext/mbstring/config.m4
diff -u php-src/ext/mbstring/config.m4:1.58.2.1 php-src/ext/mbstring/config.m4:1.58.2.2
--- php-src/ext/mbstring/config.m4:1.58.2.1 Wed Oct 26 09:50:39 2005
+++ php-src/ext/mbstring/config.m4 Fri Oct 28 03:52:58 2005
@@ -1,5 +1,5 @@
dnl
-dnl $Id: config.m4,v 1.58.2.1 2005/10/26 13:50:39 tony2001 Exp $
+dnl $Id: config.m4,v 1.58.2.2 2005/10/28 07:52:58 hyanantha Exp $
dnl
AC_DEFUN([PHP_MBSTRING_ADD_SOURCES], [
@@ -72,7 +72,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])