summaryrefslogtreecommitdiff
path: root/ext/posix
diff options
context:
space:
mode:
authorAntony Dovgal <tony2001@php.net>2007-03-01 11:23:54 +0000
committerAntony Dovgal <tony2001@php.net>2007-03-01 11:23:54 +0000
commit6124bcda0dae1bafc591c29a6685a67b57fd491e (patch)
tree7581d484be6774ef513bdc31abefed83836e88d4 /ext/posix
parent416b31ccc9ec4e2c67042b140be843d6d6e46975 (diff)
downloadphp-git-6124bcda0dae1bafc591c29a6685a67b57fd491e.tar.gz
MFH: fix #40678 (Cross compilation fails)
Diffstat (limited to 'ext/posix')
-rw-r--r--ext/posix/config.m42
1 files changed, 2 insertions, 0 deletions
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