Author: cazfi Date: Wed Apr 26 18:24:05 2017 New Revision: 35297 URL: http://svn.gna.org/viewcvs/freeciv?rev=35297&view=rev Log: Fail --enable-client=gtk3.22 at configure time when gtk3 not present
See hrm Bug #654979 Modified: trunk/m4/no-client.m4 Modified: trunk/m4/no-client.m4 URL: http://svn.gna.org/viewcvs/freeciv/trunk/m4/no-client.m4?rev=35297&r1=35296&r2=35297&view=diff ============================================================================== --- trunk/m4/no-client.m4 (original) +++ trunk/m4/no-client.m4 Wed Apr 26 18:24:05 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