From Jim.
(AT_INIT): Adjust the error message on invalid options.
* tests/foreign.at (Libtool): Skip Libtool 1.3 too.
+2001-03-20 Akim Demaille <akim@epita.fr>
+
+ * tests/atgeneral.m4: s/Testing suite/Test suite/g.
+ From Jim.
+ (AT_INIT): Adjust the error message on invalid options.
+ * tests/foreign.at (Libtool): Skip Libtool 1.3 too.
+
2001-03-20 Kevin Ryde <user42@zip.com.au>
* doc/autoconf.texi: A couple of grammatical tweaks.
# AT_INIT(PROGRAM)
# ----------------
-# Begin testing suite, using PROGRAM to check version. The search path
+# Begin test suite, using PROGRAM to check version. The search path
# should be already preset so the proper executable will be selected.
m4_define([AT_INIT],
[m4_define([AT_ordinal], 0)
[[0-9] | [0-9][0-9] | [0-9][0-9][0-9] | [0-9][0-9][0-9][0-9]])
at_tests="$at_tests$[1] ";;
- *) echo 1>&2 "Try \`$[0] --help' for more information."; exit 1 ;;
+ *) echo "$as_me: invalid option: $[1]" >&2
+ echo "Try \`$[0] --help' for more information." >&2
+ exit 1 ;;
esac
shift
done
# Tester and tested.
if $1 --version | grep "$at_package.*$at_version" >/dev/null; then
- AS_BOX([Testing suite for $at_package $at_version])
+ AS_BOX([Test suite for $at_package $at_version])
else
AS_BOX([ERROR: Not using the proper version, no tests performed])
exit 1
esac
done
-# Wrap up the testing suite with summary statistics.
+# Wrap up the test suite with summary statistics.
rm -f at-check-line at-setup-line
at_skip_count=`set dummy $at_skip_list; shift; echo $[#]`
echo 'in the file '$[0]'.log.'
{
- AS_BOX([Testing suite log for $at_package $at_version])
+ AS_BOX([Test suite log for $at_package $at_version])
echo
# Try to find a few ChangeLogs in case it might help determining the
# AT_INIT(PROGRAM)
# ----------------
-# Begin testing suite, using PROGRAM to check version. The search path
+# Begin test suite, using PROGRAM to check version. The search path
# should be already preset so the proper executable will be selected.
m4_define([AT_INIT],
[m4_define([AT_ordinal], 0)
[[0-9] | [0-9][0-9] | [0-9][0-9][0-9] | [0-9][0-9][0-9][0-9]])
at_tests="$at_tests$[1] ";;
- *) echo 1>&2 "Try \`$[0] --help' for more information."; exit 1 ;;
+ *) echo "$as_me: invalid option: $[1]" >&2
+ echo "Try \`$[0] --help' for more information." >&2
+ exit 1 ;;
esac
shift
done
# Tester and tested.
if $1 --version | grep "$at_package.*$at_version" >/dev/null; then
- AS_BOX([Testing suite for $at_package $at_version])
+ AS_BOX([Test suite for $at_package $at_version])
else
AS_BOX([ERROR: Not using the proper version, no tests performed])
exit 1
esac
done
-# Wrap up the testing suite with summary statistics.
+# Wrap up the test suite with summary statistics.
rm -f at-check-line at-setup-line
at_skip_count=`set dummy $at_skip_list; shift; echo $[#]`
echo 'in the file '$[0]'.log.'
{
- AS_BOX([Testing suite log for $at_package $at_version])
+ AS_BOX([Test suite log for $at_package $at_version])
echo
# Try to find a few ChangeLogs in case it might help determining the
## Autoconf & Libtool. ##
## -------------------- ##
-AT_SETUP([[Autoconf & Libtool]])
+AT_SETUP([[Libtool]])
# Skip this test if there is no libtoolize.
AT_CHECK([libtoolize --version || exit 77],
ignore, ignore, ignore)
# CVS Autoconf does not work with Libtool 1.3.5.
-AT_CHECK([[libtoolize --version | grep '1.3.[012345]' && exit 77]],
+AT_CHECK([[libtoolize --version | egrep '1\.3(\.[0-5])?$' && exit 77]],
ignore, ignore, ignore)
# FIXME: Once Libtool `configure.ac' aware, change this.