Author: cazfi
Date: Wed Apr 26 18:24:21 2017
New Revision: 35299

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

See hrm Bug #654979

Modified:
    branches/S2_6/m4/gtk3.22-client.m4
    branches/S2_6/m4/no-client.m4

Modified: branches/S2_6/m4/gtk3.22-client.m4
URL: 
http://svn.gna.org/viewcvs/freeciv/branches/S2_6/m4/gtk3.22-client.m4?rev=35299&r1=35298&r2=35299&view=diff
==============================================================================
--- branches/S2_6/m4/gtk3.22-client.m4  (original)
+++ branches/S2_6/m4/gtk3.22-client.m4  Wed Apr 26 18:24:21 2017
@@ -25,7 +25,7 @@
         fi
       ],
       [
-        FC_NO_CLIENT([gtk3_22], [GTK+-3.22 libraries not found])
+        FC_NO_CLIENT([gtk3.22], [GTK+-3.22 libraries not found])
       ])
   fi
 ])

Modified: branches/S2_6/m4/no-client.m4
URL: 
http://svn.gna.org/viewcvs/freeciv/branches/S2_6/m4/no-client.m4?rev=35299&r1=35298&r2=35299&view=diff
==============================================================================
--- branches/S2_6/m4/no-client.m4       (original)
+++ branches/S2_6/m4/no-client.m4       Wed Apr 26 18:24:21 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