From 6124bcda0dae1bafc591c29a6685a67b57fd491e Mon Sep 17 00:00:00 2001 From: Antony Dovgal Date: Thu, 1 Mar 2007 11:23:54 +0000 Subject: [PATCH] MFH: fix #40678 (Cross compilation fails) --- NEWS | 1 + ext/posix/config.m4 | 2 ++ 2 files changed, 3 insertions(+) diff --git a/NEWS b/NEWS index d64590e5f9..e53b898f99 100644 --- 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) diff --git a/ext/posix/config.m4 b/ext/posix/config.m4 index f84facde60..f88e2615ff 100644 --- a/ext/posix/config.m4 +++ b/ext/posix/config.m4 @@ -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 -- 2.40.0