cvs: php-src /ext/posix config.m4
| From: | Antony Dovgal | Date: | Thu, 01 Mar 2007 11:23:08 +0000 |
| Subject: | cvs: php-src /ext/posix config.m4 | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-43330@lists.php.net to get a copy of this message | ||
tony2001 Thu Mar 1 11:23:08 2007 UTC
Modified files:
/php-src/ext/posix config.m4
Log:
fix #40678 (Cross compilation fails)
http://cvs.php.net/viewvc.cgi/php-src/ext/posix/config.m4?r1=1.16&r2=1.17&diff_format=u
Index: php-src/ext/posix/config.m4
diff -u php-src/ext/posix/config.m4:1.16 php-src/ext/posix/config.m4:1.17
--- php-src/ext/posix/config.m4:1.16 Fri Jan 5 21:30:06 2007
+++ php-src/ext/posix/config.m4 Thu Mar 1 11:23:07 2007
@@ -1,5 +1,5 @@
dnl
-dnl $Id: config.m4,v 1.16 2007/01/05 21:30:06 pollita Exp $
+dnl $Id: config.m4,v 1.17 2007/03/01 11:23:07 tony2001 Exp $
dnl
PHP_ARG_ENABLE(posix,whether to enable POSIX-like functions,
@@ -28,5 +28,7 @@
AC_DEFINE(HAVE_TTYNAME_R, 1, [Whether you have a working ttyname_r])
],[
AC_MSG_RESULT([no, posix_ttyname() will be thread-unsafe])
+ ], [
+ AC_MSG_RESULT([no, cannot detect working ttyname_r() when cross compiling. posix_ttyname() will
be thread-unsafe])
])
fi