+2005-05-25 Paul Eggert <eggert@cs.ucla.edu>
+
+ * tests/local.at: Don't attempt to check for negated character
+ classes in shell scripts. The test was too brittle.
+
2005-05-25 Stepan Kasal <kasal@ucw.cz>
* bin/autoconf.as: Don't use "shift 2"; it's not portable enough.
# AT_CHECK_SHELL_SYNTAX(PROGRAM, ALT-COMMAND)
# -------------------------------------------
# If the shell handles `-n' well, use it to check the syntax of PROGRAM;
-# otherwise, run ALT-COMMAND. Grep for [^...] negated character classes in
-# shell patterns, an extension to POSIX that many shells do not support.
+# otherwise, run ALT-COMMAND.
m4_define([AT_CHECK_SHELL_SYNTAX],
[AS_IF([test x"$ac_cv_sh_n_works" != xno],
- [AT_CHECK([/bin/sh -n $1], 0)], [$2])
-AT_CHECK([awk '/^[ \t]*case/,/^[ \t]*esac/{if(/\@<:@\^.*\)/) exit(1)}' $1])])
+ [AT_CHECK([/bin/sh -n $1], 0)], [$2])])
m4_define([AT_CHECK_PERL_SYNTAX],
[AT_CHECK([autom4te_perllibdir=$abs_top_srcdir/lib $PERL -c $abs_top_builddir/bin/$1],