mkstemp: Tweak configure message when cross-compiling.
authorBruno Haible <bruno@clisp.org>
Wed, 27 Apr 2011 21:42:27 +0000 (23:42 +0200)
committerBruno Haible <bruno@clisp.org>
Wed, 27 Apr 2011 21:42:27 +0000 (23:42 +0200)
* m4/mkstemp.m4 (gl_FUNC_MKSTEMP): When cross-compiling, qualify the
result as a guess.

ChangeLog
m4/mkstemp.m4

index 6dcaa38f89569afbd4a463507ad8ec0de067e57c..a57d1dae820baa29287a5895578b9db61711acf5 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2011-04-27  Bruno Haible  <bruno@clisp.org>
+
+       mkstemp: Tweak configure message when cross-compiling.
+       * m4/mkstemp.m4 (gl_FUNC_MKSTEMP): When cross-compiling, qualify the
+       result as a guess.
+
 2011-04-27  Bruno Haible  <bruno@clisp.org>
 
        clean-temp: Clarify what it does.
index 06187c6c51c417c39082d14828f049d2b0ee5e46..0437f14e31c4ba042cf845cf5635b22f687d5309 100644 (file)
@@ -56,10 +56,10 @@ AC_DEFUN([gl_FUNC_MKSTEMP],
               return result;]])],
           [gl_cv_func_working_mkstemp=yes],
           [gl_cv_func_working_mkstemp=no],
-          [gl_cv_func_working_mkstemp=no])
+          [gl_cv_func_working_mkstemp="guessing no"])
         rm -rf conftest.mkstemp
       ])
-    if test $gl_cv_func_working_mkstemp != yes; then
+    if test "$gl_cv_func_working_mkstemp" != yes; then
       REPLACE_MKSTEMP=1
       AC_LIBOBJ([mkstemp])
       gl_PREREQ_MKSTEMP