Complete.Org: Mailing Lists: Archives: freeciv-dev: February 2003:
[Freeciv-Dev] (PR#2979) moving FC_NO_CLIENT
Home

[Freeciv-Dev] (PR#2979) moving FC_NO_CLIENT

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: undisclosed-recipients:;
Subject: [Freeciv-Dev] (PR#2979) moving FC_NO_CLIENT
From: "Jason Short via RT" <rt@xxxxxxxxxxxxxx>
Date: Sun, 2 Feb 2003 17:58:57 -0800
Reply-to: rt@xxxxxxxxxxxxxx

Currently the FC_NO_CLIENT macro is in m4/win32-client.m4.  This 
obviously isn't the right place for it.

It seems inefficient to give it its own file, but I know of no other 
good place for it.

jason

Index: Makefile.am
===================================================================
RCS file: /home/freeciv/CVS/freeciv/Makefile.am,v
retrieving revision 1.29
diff -u -r1.29 Makefile.am
--- Makefile.am 2003/01/16 22:14:13     1.29
+++ Makefile.am 2003/02/03 01:55:52
@@ -82,6 +82,7 @@
                m4/isc-posix.m4                 \
                m4/lcmessage.m4                 \
                m4/ngettext.m4                  \
+               m4/no-client.m4                 \
                m4/progtest.m4                  \
                m4/readline.m4                  \
                m4/sdl.m4                       \
Index: m4/win32-client.m4
===================================================================
RCS file: /home/freeciv/CVS/freeciv/m4/win32-client.m4,v
retrieving revision 1.1
diff -u -r1.1 win32-client.m4
--- m4/win32-client.m4  2002/12/30 19:53:53     1.1
+++ m4/win32-client.m4  2003/02/03 01:55:54
@@ -3,13 +3,6 @@
 # FC_WIN32_CLIENT
 # Test for Win32 and needed libraries for gui-win32
 
-AC_DEFUN(FC_NO_CLIENT,
-[
-  if test "$client" = "$1"; then
-    AC_MSG_ERROR([specified client '$1' not configurable ($2)])
-  fi
-])
-
 AC_DEFUN(FC_WIN32_CLIENT,
 [
   if test "$client" = "win32" || test "$client" = "yes" ; then
# Fail because a client wasn't found, if it was requested

# FC_NO_CLIENT($which_client, $error_message)
# The $1 client has failed its configure check; it cannot be compiled.  This
# simple macro will exit if this was the requested client, giving an error
# message including $2.  If this wasn't the specified client, it will do
# nothing and configure should continue...

AC_DEFUN(FC_NO_CLIENT,
[
  if test "$client" = "$1"; then
    AC_MSG_ERROR([specified client '$1' not configurable ($2)])
  fi
])

[Prev in Thread] Current Thread [Next in Thread]
  • [Freeciv-Dev] (PR#2979) moving FC_NO_CLIENT, Jason Short via RT <=