]> granicus.if.org Git - php/commitdiff
MFH: fix #40678 (Cross compilation fails)
authorAntony Dovgal <tony2001@php.net>
Thu, 1 Mar 2007 11:23:54 +0000 (11:23 +0000)
committerAntony Dovgal <tony2001@php.net>
Thu, 1 Mar 2007 11:23:54 +0000 (11:23 +0000)
NEWS
ext/posix/config.m4

diff --git a/NEWS b/NEWS
index d64590e5f974ab778c54ee035378002b8332e230..e53b898f996bca0a4e32fed6577ee6151e15bdb5 100644 (file)
--- a/NEWS
+++ b/NEWS
@@ -9,6 +9,7 @@ PHP                                                                        NEWS
 - Added --ri switch to CLI which allows to check extension information. (Marcus)
 - Added tidyNode::getParent() method (John, Nuno)
 - Fixed zend_llist_remove_tail (Michael Wallner, Dmitry)
+- Fixed bug #40678 (Cross compilation fails). (Tony)
 - Fixed bug #40621 (Crash when constructor called inappropriately). (Tony)
 - Fixed bug #40609 (Segfaults when using more than one SoapVar in a request).
   (Rob, Dmitry)
index f84facde60b1ffc61827842b0bfe6b32692bc269..f88e2615ff4c2a038d7ed8cdcf5a8262ec54cc1c 100644 (file)
@@ -28,5 +28,7 @@ int main(int argc, char *argv[])
     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