changeset 14637:b7b9269df7ba

mkstemp: Tweak configure message when cross-compiling. * m4/mkstemp.m4 (gl_FUNC_MKSTEMP): When cross-compiling, qualify the result as a guess.
author Bruno Haible <bruno@clisp.org>
date Wed, 27 Apr 2011 23:42:27 +0200
parents e38cec555642
children 1f2629ca413e
files ChangeLog m4/mkstemp.m4
diffstat 2 files changed, 8 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- 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.
--- a/m4/mkstemp.m4
+++ b/m4/mkstemp.m4
@@ -56,10 +56,10 @@
               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