postgresql: require/hint minimum autoconf version 2.63

the original configure.in warns if autoconf version is less than 2.63, but
patch 1 removes this warning. this patch adds that requirement using AC_PREREQ

on debian systems where both old/new versions of autoconf are installed,
a script is used to determine which version to use. adding AC_PREREQ to
configure.in helps the script choose the correct version.

the system should already have such version since MXE itself requires 2.67
This commit is contained in:
Avi Halachmi (:avih) 2015-04-24 07:48:31 +03:00
parent 2d463570e7
commit 04d8059013
1 changed files with 30 additions and 0 deletions

View File

@ -0,0 +1,30 @@
This file is part of MXE.
See index.html for further information.
Contains ad hoc patches for cross building.
see https://github.com/mxe/mxe/issues/672
From b18fec680ef90c65247d998e3f68e7574d45e83e Mon Sep 17 00:00:00 2001
From: "Avi Halachmi (:avih)" <avihpit@yahoo.com>
Date: Fri, 24 Apr 2015 07:25:04 +0300
Subject: [PATCH] autoconf: require minimum version 2.50
---
configure.in | 1 +
1 file changed, 1 insertion(+)
diff --git a/configure.in b/configure.in
index 1257071..24f91cd 100644
--- a/configure.in
+++ b/configure.in
@@ -17,6 +17,7 @@ dnl Read the Autoconf manual for details.
dnl
m4_pattern_forbid(^PGAC_)dnl to catch undefined macros
+AC_PREREQ(2.63)
AC_INIT([PostgreSQL], [9.2.4], [pgsql-bugs@postgresql.org])
AC_COPYRIGHT([Copyright (c) 1996-2012, PostgreSQL Global Development Group])
--
1.9.1