diff options
author | Avi Halachmi (:avih) <avihpit@yahoo.com> | 2015-04-24 04:48:31 (GMT) |
---|---|---|
committer | Avi Halachmi (:avih) <avihpit@yahoo.com> | 2015-04-29 11:21:42 (GMT) |
commit | 04d8059013fb2c47b99c6519e08d9ee924f4e609 (patch) | |
tree | bc3d1a30ec66338442ec65e89d1f57e30f058549 | |
parent | 2d463570e766a4f097e284baa216b64e64ba31b9 (diff) | |
download | mxe-04d8059013fb2c47b99c6519e08d9ee924f4e609.zip mxe-04d8059013fb2c47b99c6519e08d9ee924f4e609.tar.gz mxe-04d8059013fb2c47b99c6519e08d9ee924f4e609.tar.bz2 |
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
-rw-r--r-- | src/postgresql-2-autoconf-min-version.patch | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/src/postgresql-2-autoconf-min-version.patch b/src/postgresql-2-autoconf-min-version.patch new file mode 100644 index 0000000..e024f84 --- /dev/null +++ b/src/postgresql-2-autoconf-min-version.patch @@ -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 + |