tObsolete acconfig.h file removed. - vaccinewars - be a doctor and try to vaccinate the world
 (HTM) git clone git://src.adamsgaard.dk/vaccinewars
 (DIR) Log
 (DIR) Files
 (DIR) Refs
 (DIR) README
 (DIR) LICENSE
       ---
 (DIR) commit 01977bd2f824c844f7dd709aafea52aed1d7a63e
 (DIR) parent b9e60d7f50feda9224d64c0266ce2d6661e04fe4
 (HTM) Author: Ben Webb <ben@salilab.org>
       Date:   Sat, 20 Apr 2002 17:54:13 +0000
       
       Obsolete acconfig.h file removed.
       
       
       Diffstat:
         D acconfig.h                          |      28 ----------------------------
         M configure.in                        |      20 ++++++++++++--------
       
       2 files changed, 12 insertions(+), 36 deletions(-)
       ---
 (DIR) diff --git a/acconfig.h b/acconfig.h
       t@@ -1,28 +0,0 @@
       -
       -/* Define if building under the Cygwin environment */
       -#undef CYGWIN
       -
       -/* Define if dopewars should use TCP/IP networking to connect to servers */
       -#undef NETWORKING
       -
       -/* Use the graphical client? */
       -#undef GUI_CLIENT
       -
       -/* Use the (n)curses client? */
       -#undef CURSES_CLIENT
       -
       -/* Use the Win32 client? */
       -#undef WIN32_CLIENT
       -
       -/* Use a graphical server? */
       -#undef GUI_SERVER
       -
       -/* Do we have the socklen_t data type? */
       -#undef HAVE_SOCKLEN_T
       -
       -/* Do we have GTK+ with a non-buggy gtk_entry_set_visibility() ?
       -   (i.e. >= 1.2.10) */
       -#undef HAVE_FIXED_GTK
       -
       -/* Do we have GLIB 2.0 ? */
       -#undef HAVE_GLIB2
 (DIR) diff --git a/configure.in b/configure.in
       t@@ -58,7 +58,7 @@ AC_ARG_ENABLE(nativewin32,
        
        if test "$CYGWIN" = "yes" ; then
           AC_MSG_RESULT([Configuring for native Win32 binary under Cygwin])
       -   AC_DEFINE(CYGWIN)
       +   AC_DEFINE(CYGWIN, 1, [Define if building under the Cygwin environment])
        
           dnl We NEED GLib, but glib-config is not usually installed under Cygwin
           dnl even when glib-1.3.dll is - so we assume GLib is in place; the worst
       t@@ -96,7 +96,7 @@ else
           if test "$glib2_found" = "no" ; then
             AM_PATH_GLIB(1.2.0, , [AC_MSG_ERROR(Cannot find glib - aborting)])
           else
       -     AC_DEFINE(HAVE_GLIB2)
       +     AC_DEFINE(HAVE_GLIB2, 1, [Do we have GLIB 2.0 ?])
           fi
        
           dnl On true Unix systems, test for valid curses-like libraries
       t@@ -169,7 +169,8 @@ else
           AC_TRY_COMPILE([#include <sys/types.h>
                           #include <sys/socket.h>],[socklen_t val],
                          [AC_MSG_RESULT([yes])
       -                   AC_DEFINE(HAVE_SOCKLEN_T)],
       +                   AC_DEFINE(HAVE_SOCKLEN_T, 1,
       +                             [Do we have the socklen_t data type?])],
                          [AC_MSG_RESULT([no])])
        fi
        
       t@@ -193,19 +194,21 @@ localedir=${datadir}/locale
        AC_SUBST(localedir)
        
        if test "$GUI_CLIENT" = "yes" ; then
       -   AC_DEFINE(GUI_CLIENT)
       +   AC_DEFINE(GUI_CLIENT, 1, [Use the graphical client?])
        fi
        
        if test "$CURSES_CLIENT" = "yes" ; then
       -   AC_DEFINE(CURSES_CLIENT)
       +   AC_DEFINE(CURSES_CLIENT, 1, [Use the (n)curses client?])
        fi
        
        if test "$GUI_SERVER" = "yes" ; then
       -   AC_DEFINE(GUI_SERVER)
       +   AC_DEFINE(GUI_SERVER, 1, [Use a graphical server?])
        fi
        
        if test "$HAVE_FIXED_GTK" = "yes" ; then
       -   AC_DEFINE(HAVE_FIXED_GTK)
       +   AC_DEFINE(HAVE_FIXED_GTK, 1,
       +        [Do we have GTK+ with a non-buggy gtk_entry_set_visibility() ?
       +   (i.e. >= 1.2.10)])
        fi
        
        dnl Can we use a long long datatype for price_t ?
       t@@ -245,7 +248,8 @@ AC_ARG_ENABLE(networking,
        
        dnl Inform the user of the status of networking
        if test "$network" = "yes" ; then
       -   AC_DEFINE(NETWORKING)
       +   AC_DEFINE(NETWORKING, 1,
       +       [Define if dopewars should use TCP/IP networking to connect to servers])
        fi
        
        AC_ARG_ENABLE(strict,