From 6a71ef79cffbfbf09f1567d0136711d80452eb41 Mon Sep 17 00:00:00 2001 From: Ben Gamari Date: Mon, 19 Mar 2018 13:31:31 -0400 Subject: Bump autoconf version bound to >= 2.69 Reviewers: hvr Subscribers: rwbarton, thomie, erikd, carter GHC Trac Issues: #14910 Differential Revision: https://phabricator.haskell.org/D4495 --- configure.ac | 15 ++++++++------- distrib/configure.ac.in | 3 +++ libraries/integer-gmp/configure.ac | 2 +- 3 files changed, 12 insertions(+), 8 deletions(-) diff --git a/configure.ac b/configure.ac index e75fc6c7dd..1bab56d7fe 100644 --- a/configure.ac +++ b/configure.ac @@ -55,13 +55,14 @@ AC_SUBST([release], [1]) # First off, a distrib sanity check.. AC_CONFIG_SRCDIR([mk/config.mk.in]) -dnl * We require autoconf version 2.60 -dnl We need 2.50 due to the use of AC_SYS_LARGEFILE and AC_MSG_NOTICE. -dnl We need 2.52 due to the use of AS_TR_CPP and AS_TR_SH. -dnl Using autoconf 2.59 started to give nonsense like this -dnl #define SIZEOF_CHAR 0 -dnl recently. -AC_PREREQ([2.60]) +dnl * We require autoconf version 2.69 due to +dnl https://bugs.ruby-lang.org/issues/8179. Also see #14910. +dnl * We need 2.50 due to the use of AC_SYS_LARGEFILE and AC_MSG_NOTICE. +dnl * We need 2.52 due to the use of AS_TR_CPP and AS_TR_SH. +dnl * Using autoconf 2.59 started to give nonsense like this +dnl #define SIZEOF_CHAR 0 +dnl recently. +AC_PREREQ([2.69]) # ------------------------------------------------------------------------- # Prepare to generate the following header files diff --git a/distrib/configure.ac.in b/distrib/configure.ac.in index 95ad1986bb..ed1c29671a 100644 --- a/distrib/configure.ac.in +++ b/distrib/configure.ac.in @@ -6,6 +6,9 @@ dnl AC_INIT([The Glorious Glasgow Haskell Compilation System], [@ProjectVersion@], [glasgow-haskell-bugs@haskell.org], [ghc-AC_PACKAGE_VERSION]) +dnl See /configure.ac for rationale. +AC_PREREQ([2.69]) + dnl-------------------------------------------------------------------- dnl * Deal with arguments telling us gmp is somewhere odd dnl-------------------------------------------------------------------- diff --git a/libraries/integer-gmp/configure.ac b/libraries/integer-gmp/configure.ac index c19dbbc4a8..3aebeba5d5 100644 --- a/libraries/integer-gmp/configure.ac +++ b/libraries/integer-gmp/configure.ac @@ -1,4 +1,4 @@ -AC_PREREQ(2.60) +AC_PREREQ(2.69) AC_INIT([Haskell integer (GMP)], [1.0], [libraries@haskell.org], [integer]) # Safety check: Ensure that we are in the correct source directory. -- cgit v1.2.1