bug-coreutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCH] build: require newer versions of automake and autoconf


From: Jim Meyering
Subject: [PATCH] build: require newer versions of automake and autoconf
Date: Wed, 06 Jan 2010 10:32:10 +0100

Inspired by Eric Blake's changes to m4 yesterday, ...

Note that this doesn't change anything for tarballs created by me.
This change makes it harder for others to build using a dangerously
old/buggy version of automake.

>From b1abbe410f0d42dd5e69f1e4c606e7210c5c4950 Mon Sep 17 00:00:00 2001
From: Jim Meyering <address@hidden>
Date: Wed, 6 Jan 2010 10:14:23 +0100
Subject: [PATCH] build: require newer versions of automake and autoconf

* configure.ac: Require autoconf-2.62 and automake-1.11.1 or newer.
* bootstrap.conf (buildreq): Require automake-1.11.1 or newer,
to ensure people use a version with the fix for CVE-2009-4029.
Note that the coreutils-8.2 tarball included a fixed Makefile.in.
Require autoconf-2.62, per automake.
---
 bootstrap.conf |    4 ++--
 configure.ac   |    4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/bootstrap.conf b/bootstrap.conf
index 15b8912..9cdf984 100644
--- a/bootstrap.conf
+++ b/bootstrap.conf
@@ -310,8 +310,8 @@ gnulib_tool_option_extras="--tests-base=$bt/gnulib-tests 
--with-tests"

 # Build prerequisites
 buildreq="\
-autoconf   2.61
-automake   1.11
+autoconf   2.62
+automake   1.11.1
 autopoint  -
 bison      -
 gettext    -
diff --git a/configure.ac b/configure.ac
index a6b9a02..b07a52b 100644
--- a/configure.ac
+++ b/configure.ac
@@ -18,7 +18,7 @@

 dnl Written by Jim Meyering.

-AC_PREREQ([2.61])
+AC_PREREQ([2.62])

 # Make inter-release version strings look like, e.g., v6.9-219-g58ddd, which
 # indicates that it is built from the 219th delta (in _some_ repository)
@@ -32,7 +32,7 @@ AC_CONFIG_SRCDIR([src/ls.c])
 AC_CONFIG_AUX_DIR([build-aux])
 AC_CONFIG_HEADERS([lib/config.h:lib/config.hin])

-AM_INIT_AUTOMAKE([1.11 dist-xz color-tests parallel-tests])
+AM_INIT_AUTOMAKE([1.11.1 dist-xz color-tests parallel-tests])
 AM_SILENT_RULES([yes]) # make --enable-silent-rules the default.

 AC_PROG_CC_STDC
--
1.6.6.387.g2649b1




reply via email to

[Prev in Thread] Current Thread [Next in Thread]