]> git.pond.sub.org Git - empserver/commitdiff
(MAXNOC): Move to config.h. Remove empty options.h.
authorMarkus Armbruster <armbru@pond.sub.org>
Wed, 28 Dec 2005 13:08:26 +0000 (13:08 +0000)
committerMarkus Armbruster <armbru@pond.sub.org>
Wed, 28 Dec 2005 13:08:26 +0000 (13:08 +0000)
configure.ac
include/misc.h
include/options.h [deleted file]

index 7783243bad068acc262a081fe9d550159faa57f1..370136313caee78b997099a3053962a5edf23862 100644 (file)
@@ -84,6 +84,10 @@ MY_FUNC_MAKECONTEXT
 
 ### Site configuration
 
+# Can't be bothered to make MAXNOC configurable right now.
+AC_DEFINE([MAXNOC], [99],
+         [The maximum number of countries])
+
 AC_ARG_VAR([EMPIREHOST], [Default host (client only) [127.0.0.1]])
 test "$EMPIREHOST" || EMPIREHOST=127.0.0.1
 
@@ -94,6 +98,7 @@ AC_ARG_WITH([pthread],
            AS_HELP_STRING([--with-pthread],
                           [use POSIX threads]))
 
+# Select thread package
 case "$ac_cv_func_makecontext$acx_pthread_ok" in
 yesyes)
     if test -z "$with_pthread" || test "$with_pthread" = no; then
index b5e327da02a2583a6e4bad384082b5650ac823e3..9cf0da1e70860350fdb932f90775543d24d4a720 100644 (file)
@@ -75,8 +75,6 @@ typedef int pid_t;
 /*#define _POSIX_ */
 #endif
 
-#include "options.h"
-
 /* This is the structure we use to keep track of the global mobility
    things, such as when the server is supposed to start/stop updating
    mobility and the timestamp of when the game was last up.  These
diff --git a/include/options.h b/include/options.h
deleted file mode 100644 (file)
index 677aede..0000000
+++ /dev/null
@@ -1,44 +0,0 @@
-/*
- *  Empire - A multi-player, client/server Internet based war game.
- *  Copyright (C) 1986-2005, Dave Pare, Jeff Bailey, Thomas Ruschak,
- *                           Ken Stevens, Steve McClure
- *
- *  This program is free software; you can redistribute it and/or modify
- *  it under the terms of the GNU General Public License as published by
- *  the Free Software Foundation; either version 2 of the License, or
- *  (at your option) any later version.
- *
- *  This program is distributed in the hope that it will be useful,
- *  but WITHOUT ANY WARRANTY; without even the implied warranty of
- *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
- *  GNU General Public License for more details.
- *
- *  You should have received a copy of the GNU General Public License
- *  along with this program; if not, write to the Free Software
- *  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
- *
- *  ---
- *
- *  See the "LEGAL", "LICENSE", "CREDITS" and "README" files for all the
- *  related information and legal notices. It is expected that any future
- *  projects/authors will amend these files as needed.
- *
- *  ---
- *
- *  options.h: Define which "optional" features should be enabled.
- * 
- *  Known contributors to this file:
- *     Dave Pare
- *     Jeff Bailey
- *     Chad Zabel
- *     Thomas Rushack, 1992
- *     Ken Stevens, 1995
- *     Steve McClure, 1998
- */
-
-#ifndef _OPTIONS_H_
-#define _OPTIONS_H_
-
-#define MAXNOC 99
-
-#endif /* _OPTIONS_H_ */