* tests/outdir.test: Use -Wno-obsolete.
+2002-07-08 Alexandre Duret-Lutz <duret_g@epita.fr>
+
+ * tests/defs (AUTOMAKE): Add -Wall.
+ * tests/outdir.test: Use -Wno-obsolete.
+
2002-07-07 Tom Tromey <tromey@redhat.com>
* m4/depend.m4 (_AM_DEPENDENCIES): Compute am__fastdep<compiler>
if test -z "$AUTOMAKE"; then
perllibdir=$srcdir/../lib
export perllibdir
- AUTOMAKE="$PERL `pwd`/../../automake --libdir=$srcdir/../lib --foreign -Werror"
+ # Use -Wall -Werror by default. Tests for which this is inappropriate
+ # (e.g. when testing that a warning is enabled by a specific switch)
+ # should use -Wnone or/and -Wno-error
+ AUTOMAKE="$PERL `pwd`/../../automake --libdir=$srcdir/../lib --foreign -Werror -Wall"
fi
# See how aclocal should be run.
mkdir zardir
$ACLOCAL || exit 1
-$AUTOMAKE --output-dir=zardir || exit 1
+$AUTOMAKE -Wno-obsolete --output-dir=zardir || exit 1
test -f Makefile.in && exit 1
test -f zardir/Makefile.in