test-perror: relax test to ignore cygwin bug
[pspp] / m4 / mkstemp.m4
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