2010-08-30 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
+ tests: skip -Wall -Werror with Tru64 cc in cwrapper test.
+ * tests/cwrapper.at (cwrapper for uninstalled executables):
+ Use a link test rather than a compile test to flesh out unknown
+ compiler flags starting with -W; Tru64/OSF1 cc will happily
+ accept `-Wall -Werror' as indication to pass flags on to
+ subprocesses.
+
tests: avoid getopt-m4sh failures when autom4te is not available.
* tests/getopt-m4sh.at (_LT_AT_GETOPT_M4SH_SETUP):
Check $M4SH --version, skip on failure.
# cwrapper.at -- test cwrapper compliance with standards -*- Autotest -*-
-# Copyright (C) 2009 Free Software Foundation, Inc.
+# Copyright (C) 2009, 2010 Free Software Foundation, Inc.
# Written by Charles Wilson, 2009
#
# This file is part of GNU Libtool.
chmod +x libtool
LIBTOOL=./libtool
- # make sure $restrictive_flags do not cause a failure
+ # Make sure $restrictive_flags do not cause a failure
# themselves (e.g. because a non-gcc compiler doesn't
- # understand them)
- $LIBTOOL --mode=compile $CC $CPPFLAGS $CFLAGS -c trivial.c || continue
+ # understand them). Tru64 cc only fails when linking.
+ $LIBTOOL --mode=compile $CC $CPPFLAGS $CFLAGS trivial.c || continue
AT_CHECK([$LIBTOOL --mode=compile $CC $CPPFLAGS $CFLAGS -c liba.c],
[], [ignore], [ignore])
< "$orig_LIBTOOL" > ./libtool
LIBTOOL=./libtool
- # make sure $debugwrapper_flags do not cause a failure
+ # Make sure $debugwrapper_flags do not cause a failure
# themselves (e.g. because a non-gcc compiler doesn't
- # understand them)
- $LIBTOOL --mode=compile $CC $CPPFLAGS $CFLAGS -c trivial.c || continue
+ # understand them). Tru64 cc only fails when linking.
+ $LIBTOOL --mode=compile $CC $CPPFLAGS $CFLAGS trivial.c || continue
AT_CHECK([$LIBTOOL --mode=compile $CC $CPPFLAGS $CFLAGS -c liba.c],
[], [ignore], [ignore])