]> git.ipfire.org Git - thirdparty/automake.git/commitdiff
Do not fail if `autoupdate' is not present.
authorRalf Wildenhues <Ralf.Wildenhues@gmx.de>
Sun, 13 Jan 2008 17:05:44 +0000 (18:05 +0100)
committerRalf Wildenhues <Ralf.Wildenhues@gmx.de>
Sun, 13 Jan 2008 17:05:44 +0000 (18:05 +0100)
* tests/obsolete.test: Check for presence of autoupdate.  Apparently,
FreeBSD may install the other Autoconf programs without a version
suffix but not autoupdate.

ChangeLog
tests/obsolete.test

index 076280c97ff996b938004ca09c514da42d51f000..c6a1992b5d41c7b37868df4792bc02c53d0f570c 100644 (file)
--- 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.
index 09c1ce7efff997c67c7e1e416204ae35a54f7255..a27a21533097a3d32f514ac7313e2d8a9ac66106 100755 (executable)
@@ -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'