Author: cazfi
Date: Wed Sep  9 17:20:36 2015
New Revision: 29830

URL: http://svn.gna.org/viewcvs/freeciv?rev=29830&view=rev
Log:
Fixed syntax error in configure when cross-compiling and the mkstemp test gives 
answer with a whitespace
in it; "guessing yes" or "guessing no"

See bug #23860

Modified:
    trunk/configure.ac

Modified: trunk/configure.ac
URL: 
http://svn.gna.org/viewcvs/freeciv/trunk/configure.ac?rev=29830&r1=29829&r2=29830&view=diff
==============================================================================
--- trunk/configure.ac  (original)
+++ trunk/configure.ac  Wed Sep  9 17:20:36 2015
@@ -1275,7 +1275,8 @@
 if test "x$sys_lua" != "xtrue" ; then
   dnl Checks needed for included lua.
   gl_FUNC_MKSTEMP
-  if test x$gl_cv_func_working_mkstemp = xyes ; then
+  if test "x$gl_cv_func_working_mkstemp" = xyes ; then
+    dnl if only "guessing yes", do not try to use mkstemp, but fallback
     AC_DEFINE([HAVE_MKSTEMP], [1], [Have working mkstemp])
   fi
   AC_CHECK_FUNCS([popen pclose _longjmp _setjmp gmtime_r localtime_r])


_______________________________________________
Freeciv-commits mailing list
Freeciv-commits@gna.org
https://mail.gna.org/listinfo/freeciv-commits

Reply via email to