webperimental: killstack decides stack protects.
[freeciv.git] / m4 / no-client.m4
blobc368f98efb00aa2bcbd3985fb8356dd65758fbb0
1 # Fail because a client wasn't found, if it was requested
3 # FC_NO_CLIENT($which_client, $error_message)
4 # The $1 client has failed its configure check; it cannot be compiled.  This
5 # simple macro will exit if this was the requested client, giving an error
6 # message including $2.  If this wasn't the specified client, it will do
7 # nothing and configure should continue...
9 AC_DEFUN([FC_NO_CLIENT],
11   UL_GUI=$(printf $1 | $SED 's/\./_/g')
13   if test "x`eval echo '$'gui_$UL_GUI`" = "xyes"; then
14     AC_MSG_ERROR([specified client '$1' not configurable ($2)])
15   fi