X-Git-Url: http://winboard.nl/cgi-bin?a=blobdiff_plain;f=configure.ac;h=ece13560bfe89b8b96b463a8c0ec86151b733c5a;hb=f00b56b34a1d43c6cc3e7489fdde4f284d776420;hp=49ca8ff505d2a3b271127d70c772cf828081cb22;hpb=d9bb62dc8cf7db24e7aeea11938450bcc49c27c6;p=xboard.git diff --git a/configure.ac b/configure.ac index 49ca8ff..ece1356 100644 --- a/configure.ac +++ b/configure.ac @@ -1,5 +1,23 @@ dnl| configure.in dnl| +dnl| Copyright 1992-2001,2002,2003,2004,2005,2006,2007,2008,2009 Free Software +dnl| Foundation, Inc. +dnl| +dnl| GNU XBoard is free software: you can redistribute it and/or modify +dnl| it under the terms of the GNU General Public License as published by +dnl| the Free Software Foundation, either version 3 of the License, or (at +dnl| your option) any later version. +dnl| +dnl| GNU XBoard is distributed in the hope that it will be useful, but +dnl| WITHOUT ANY WARRANTY; without even the implied warranty of +dnl| MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +dnl| General Public License for more details. +dnl| +dnl| You should have received a copy of the GNU General Public License +dnl| along with this program. If not, see http://www.gnu.org/licenses/. +dnl| +dnl| -------------------------------------------------------------------- +dnl| dnl| You can process this file with autoconf to produce a configure script. dnl| However, normally the supplied configure script will work fine. dnl| @@ -9,12 +27,8 @@ dnl| it portable to sites and systems other than your own), and run autoconf dnl| to regenerate configure. Then submit your changes to be folded into dnl| the standard version of xboard. -dnl| need to change these here and in AC_INIT -PRODUCT=xboard -VERSION=4.4 -PATCHLEVEL=0g - -AC_INIT([xboard],[4.4.0e],[bug-xboard@gnu.org]) +dnl| define second argument as VERSION.PATCHLEVEL. e.g. 4.4.0j +AC_INIT([xboard],[4.4.0j],[bug-xboard@gnu.org]) AM_INIT_AUTOMAKE AC_CONFIG_HEADERS([config.h]) @@ -28,8 +42,6 @@ AH_TEMPLATE([HAVE_RANDOM],[template]) AH_TEMPLATE([HAVE_SYS_SOCKET_H],[template]) AH_TEMPLATE([IBMRTAIX],[template]) AH_TEMPLATE([LAST_PTY_LETTER],[template]) -AH_TEMPLATE([PATCHLEVEL],[template]) -AH_TEMPLATE([PRODUCT],[template]) AH_TEMPLATE([PTY_ITERATION],[template]) AH_TEMPLATE([PTY_NAME_SPRINTF],[template]) AH_TEMPLATE([PTY_OPEN],[template]) @@ -38,7 +50,6 @@ AH_TEMPLATE([REMOTE_SHELL],[template]) AH_TEMPLATE([RTU],[template]) AH_TEMPLATE([UNIPLUS],[template]) AH_TEMPLATE([USE_PTYS],[template]) -AH_TEMPLATE([VERSION],[template]) AH_TEMPLATE([X_WCHAR],[template]) AH_TEMPLATE([ATTENTION],[template]) AH_TEMPLATE([DEFINED_SYS_ERRLIST],[template]) @@ -98,7 +109,7 @@ AC_CHECK_LIB(seq, getpseudotty) AC_PATH_XTRA if test -n "$no_x" ; then - echo $PRODUCT requires the X Window System header files and libraries! + echo $PACKAGE requires the X Window System header files and libraries! echo They were not found on your system. See FAQ topic C.2. echo configure failed exit 1 @@ -390,13 +401,6 @@ AC_ARG_ENABLE(sigint, fi], [AC_DEFINE(ATTENTION, 1)]) -AC_DEFINE_UNQUOTED(PRODUCT, "$PRODUCT") -AC_DEFINE_UNQUOTED(VERSION, "$VERSION") -AC_DEFINE_UNQUOTED(PATCHLEVEL, "$PATCHLEVEL") -AC_SUBST(PRODUCT) -AC_SUBST(VERSION) -AC_SUBST(PATCHLEVEL) - AC_CONFIG_FILES([Makefile cmail]) AC_CONFIG_COMMANDS([test-stamp-h],[test -z "$CONFIG_HEADERS" || date > stamp-h]) AC_CONFIG_COMMANDS([chmod-cmail],[chmod 755 cmail])