Author: cazfi
Date: Wed Sep  9 17:20:54 2015
New Revision: 29832

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

Modified: branches/S2_5/configure.ac
URL: 
http://svn.gna.org/viewcvs/freeciv/branches/S2_5/configure.ac?rev=29832&r1=29831&r2=29832&view=diff
==============================================================================
--- branches/S2_5/configure.ac  (original)
+++ branches/S2_5/configure.ac  Wed Sep  9 17:20:54 2015
@@ -1244,7 +1244,8 @@
 
 dnl Checks needed for Lua. Get rid of these if system lua is ever used.
 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([isatty popen _longjmp _setjmp])


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

Reply via email to