* tests/obsolete.test: Check for presence of autoupdate. Apparently,
FreeBSD may install the other Autoconf programs without a version
suffix but not autoupdate.
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.
#! /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
# Test to make sure obsolete macros can be autoupdated.
+set x ${AUTOUPDATE-autoupdate}
+required=$2
. ./defs || exit 1
cat > configure.in << 'END'