1# Fail because a client wasn't found, if it was requested
2
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...
8
9AC_DEFUN([FC_NO_CLIENT],
10[
11  UL_GUI=$(printf $1 | $SED 's/\./_/g')
12
13  if test "x`eval echo '$'gui_$UL_GUI`" = "xyes"; then
14    AC_MSG_ERROR([specified client '$1' not configurable ($2)])
15  fi
16])
17