From 1cffd11eba0784a16e2ef2f518b50b102100cd3f Mon Sep 17 00:00:00 2001 From: Ralf Wildenhues Date: Sun, 13 Jan 2008 18:05:44 +0100 Subject: [PATCH] Do not fail if `autoupdate' is not present. * tests/obsolete.test: Check for presence of autoupdate. Apparently, FreeBSD may install the other Autoconf programs without a version suffix but not autoupdate. --- ChangeLog | 5 +++++ tests/obsolete.test | 4 +++- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 076280c97..c6a1992b5 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,10 @@ 2008-01-13 Ralf Wildenhues + Do not fail if `autoupdate' is not present. + * tests/obsolete.test: Check for presence of autoupdate. Apparently, + FreeBSD may install the other Autoconf programs without a version + suffix but not autoupdate. + Fix Heisenbug trying to unset a sometimes-not-set variable. * tests/check5.test: Do not error out upon `unset TESTS' due to `set -e', in case TESTS was not set. diff --git a/tests/obsolete.test b/tests/obsolete.test index 09c1ce7ef..a27a21533 100755 --- a/tests/obsolete.test +++ b/tests/obsolete.test @@ -1,5 +1,5 @@ #! /bin/sh -# Copyright (C) 1996, 2001, 2002, 2007 Free Software Foundation, Inc. +# Copyright (C) 1996, 2001, 2002, 2007, 2008 Free Software Foundation, Inc. # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by @@ -16,6 +16,8 @@ # Test to make sure obsolete macros can be autoupdated. +set x ${AUTOUPDATE-autoupdate} +required=$2 . ./defs || exit 1 cat > configure.in << 'END' -- 2.11.4.GIT