Provide a more helpful error message when there is an autoconf version

mismatch;  backpatch.
This commit is contained in:
Bruce Momjian 2007-12-31 17:28:21 +00:00
parent 50058a5bae
commit 670f05b07c

View File

@ -1,5 +1,5 @@
dnl Process this file with autoconf to produce a configure script. dnl Process this file with autoconf to produce a configure script.
dnl $PostgreSQL: pgsql/configure.in,v 1.540 2007/12/31 16:47:10 momjian Exp $ dnl $PostgreSQL: pgsql/configure.in,v 1.541 2007/12/31 17:28:21 momjian Exp $
dnl dnl
dnl Developers, please strive to achieve this order: dnl Developers, please strive to achieve this order:
dnl dnl
@ -20,8 +20,9 @@ m4_pattern_forbid(^PGAC_)dnl to catch undefined macros
AC_INIT([PostgreSQL], [8.3beta4], [pgsql-bugs@postgresql.org]) AC_INIT([PostgreSQL], [8.3beta4], [pgsql-bugs@postgresql.org])
m4_if(m4_defn([m4_PACKAGE_VERSION]), [2.59], [], [m4_fatal([Autoconf version 2.59 is required. m4_if(m4_defn([m4_PACKAGE_VERSION]), [2.59], [], [m4_fatal([Autoconf version 2.59 is required.
You can remove the check from configure.in but it is then your Untested combinations of 'autoconf' and PostgreSQL versions are not
responsibility whether the result works or not.])]) recommended. You can remove the check from 'configure.in' but it is then
your responsibility whether the result works or not.])])
AC_COPYRIGHT([Copyright (c) 1996-2007, PostgreSQL Global Development Group]) AC_COPYRIGHT([Copyright (c) 1996-2007, PostgreSQL Global Development Group])
AC_CONFIG_SRCDIR([src/backend/access/common/heaptuple.c]) AC_CONFIG_SRCDIR([src/backend/access/common/heaptuple.c])
AC_CONFIG_AUX_DIR(config) AC_CONFIG_AUX_DIR(config)