Author: cazfi
Date: Wed Apr 26 18:24:13 2017
New Revision: 35298

URL: http://svn.gna.org/viewcvs/freeciv?rev=35298&view=rev
Log:
Fail --enable-client=gtk3.22 at configure time when gtk3 not present

See hrm Bug #654979

Modified:
    branches/S3_0/m4/no-client.m4

Modified: branches/S3_0/m4/no-client.m4
URL: 
http://svn.gna.org/viewcvs/freeciv/branches/S3_0/m4/no-client.m4?rev=35298&r1=35297&r2=35298&view=diff
==============================================================================
--- branches/S3_0/m4/no-client.m4       (original)
+++ branches/S3_0/m4/no-client.m4       Wed Apr 26 18:24:13 2017
@@ -8,7 +8,9 @@
 
 AC_DEFUN([FC_NO_CLIENT],
 [
-  if test "x`eval echo '$'gui_$1`" = "xyes"; then
+  UL_GUI=$(printf $1 | $SED 's/\./_/g')
+
+  if test "x`eval echo '$'gui_$UL_GUI`" = "xyes"; then
     AC_MSG_ERROR([specified client '$1' not configurable ($2)])
   fi
 ])


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

Reply via email to