Author: cazfi
Date: Wed Sep  9 17:20:45 2015
New Revision: 29831

URL: http://svn.gna.org/viewcvs/freeciv?rev=29831&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:
    branches/S2_6/configure.ac

Modified: branches/S2_6/configure.ac
URL: 
http://svn.gna.org/viewcvs/freeciv/branches/S2_6/configure.ac?rev=29831&r1=29830&r2=29831&view=diff
==============================================================================
--- branches/S2_6/configure.ac  (original)
+++ branches/S2_6/configure.ac  Wed Sep  9 17:20:45 2015
@@ -1253,7 +1253,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