]> git.pond.sub.org Git - empserver/blobdiff - configure.ac
(sect_ca): New selector elev. It's set by fairland, but has no effect
[empserver] / configure.ac
index a0010da1be2484dcae9fd4f28346600b79800786..eee3731f089ac126a12f3aa37b4a0494914717e1 100644 (file)
@@ -1,6 +1,6 @@
 # 
 #   Empire - A multi-player, client/server Internet based war game.
-#   Copyright (C) 1986-2006, Dave Pare, Jeff Bailey, Thomas Ruschak,
+#   Copyright (C) 1986-2007, Dave Pare, Jeff Bailey, Thomas Ruschak,
 #                            Ken Stevens, Steve McClure
 # 
 #   This program is free software; you can redistribute it and/or modify
@@ -38,7 +38,7 @@
 # whether it's worth fixing.
 
 AC_PREREQ(2.59)
-AC_INIT([Wolfpack Empire], [4.3.4], [wolfpack@wolfpackempire.com], [empire])
+AC_INIT([Wolfpack Empire], [4.3.11], [wolfpack@wolfpackempire.com], [empire])
 AC_CONFIG_SRCDIR([include/combat.h])
 AC_CONFIG_MACRO_DIR([m4])
 AC_CONFIG_HEADERS([config.h])
@@ -54,6 +54,9 @@ AM_PROG_CC_C_O
 # Private automake macro, tsk, tsk, tsk...
 _AM_DEPENDENCIES(CC)
 
+AC_ARG_VAR(NROFF, [nroff command])
+AC_CHECK_PROG(NROFF, groff, [GROFF_NO_SGR= groff -Tascii -U], nroff)
+
 # not really a check for a program, but close enough
 if test -d $srcdir/CVS; then cvs_controlled=yes; else cvs_controlled=no; fi
 AC_SUBST(cvs_controlled,$cvs_controlled)
@@ -70,7 +73,8 @@ esac
 
 # TODO turn this into a macro?
 save_LIBS=$LIBS
-AC_SEARCH_LIBS([setupterm], [termlib termcap curses])
+AC_SEARCH_LIBS([setupterm], [termlib termcap curses ncurses])
+# FIXME if not found, complain and switch off highlighting
 termlibs=`echo $LIBS | sed s/\`echo $save_LIBS | sed 's/././g'\`'$//'`
 AC_SUBST(termlibs)
 LIBS=$save_LIBS
@@ -128,8 +132,7 @@ fi
 AC_SUBST(empthread)
 AC_MSG_NOTICE([Using $empthread threads])
 case $empthread in
-LWP)   AC_DEFINE([EMPTH_LWP], 1, [Define to use LWP threads])
-       AC_DEFINE([UCONTEXT], 1, [Define to make LWP use makecontext()]) ;;
+LWP)   AC_DEFINE([EMPTH_LWP], 1, [Define to use LWP threads]) ;;
 POSIX) AC_DEFINE([EMPTH_POSIX], 1, [Define to use POSIX threads]) ;;
 Windows) AC_DEFINE([EMPTH_W32], 1, [Define to use Windows threads]) ;;
 esac