summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRalf Wildenhues <Ralf.Wildenhues@gmx.de>2008-01-13 18:05:44 +0100
committerRalf Wildenhues <Ralf.Wildenhues@gmx.de>2008-01-13 18:05:44 +0100
commit1cffd11eba0784a16e2ef2f518b50b102100cd3f (patch)
tree3c4c352b02bcd38136d4e25b858118b2c0ca9f84
parent74dc99925da8850d2ebb6e85fc00597b348685b1 (diff)
downloadautomake-1cffd11eba0784a16e2ef2f518b50b102100cd3f.tar.gz
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.
-rw-r--r--ChangeLog5
-rwxr-xr-xtests/obsolete.test4
2 files changed, 8 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 076280c97..c6a1992b5 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,10 @@
2008-01-13 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
+ 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'