X-Git-Url: http://git.pond.sub.org/?p=empserver;a=blobdiff_plain;f=configure.ac;h=a30010816ad7bd080f5787fc6e447607dbbd684b;hp=7e56c02af49a5fb31dc053896b5368164ae79d0d;hb=d3a64a4f6e8aa1dc1ee027086aa9b280864e80e4;hpb=6a0f9d9874276d25ec9d53b77bcbba994ec0c51a diff --git a/configure.ac b/configure.ac index 7e56c02af..a30010816 100644 --- a/configure.ac +++ b/configure.ac @@ -1,6 +1,6 @@ # # Empire - A multi-player, client/server Internet based war game. -# Copyright (C) 1986-2015, Dave Pare, Jeff Bailey, Thomas Ruschak, +# Copyright (C) 1986-2016, Dave Pare, Jeff Bailey, Thomas Ruschak, # Ken Stevens, Steve McClure, Markus Armbruster # # Empire is free software: you can redistribute it and/or modify @@ -27,7 +27,7 @@ # configure.ac: Autoconf input file # # Known contributors to this file: -# Markus Armbruster, 2005-2015 +# Markus Armbruster, 2005-2016 # # Process this file with autoconf to produce a configure script. @@ -36,8 +36,10 @@ # POSIX, and when something breaks on some oddball machine, see # whether it's worth fixing. -AC_PREREQ(2.64) -AC_INIT([Wolfpack Empire], [4.3.34], [wolfpack@wolfpackempire.com], [empire], +AC_PREREQ(2.69) +AC_INIT([Wolfpack Empire], + m4_esyscmd([build-aux/git-version-gen .tarball-version]), + [wolfpack@wolfpackempire.com], [empire], [http://www.wolfpackempire.com/]) AC_CONFIG_SRCDIR([include/combat.h]) AC_CONFIG_AUX_DIR([build-aux]) @@ -58,9 +60,13 @@ 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/.git; then revctrl=git +if test -d $srcdir/.git +then revctrl=git else revctrl= fi +if test "$revctrl" && test -r .tarball-version +then AC_MSG_ERROR([.tarball-version must not exist]) +fi AC_SUBST(revctrl,$revctrl) # Not a program, but need to check this early