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

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