From ad0a5398acac8b7519d165d07f1da945c408b1cc Mon Sep 17 00:00:00 2001 From: Antony Dovgal Date: Thu, 1 Mar 2007 11:23:07 +0000 Subject: [PATCH] fix #40678 (Cross compilation fails) --- ext/posix/config.m4 | 2 ++ 1 file changed, 2 insertions(+) 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.50.1