g++, check that `g++ -v' works; AC_PROG_CXX may have set that
as default value even if it found no C++ compiler.
Report by Andreas Schwab.
+2008-02-01 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
+
+ * tests/testsuite.at (LT_AT_TAG): For the CXX tag, if $CXX is
+ g++, check that `g++ -v' works; AC_PROG_CXX may have set that
+ as default value even if it found no C++ compiler.
+ Report by Andreas Schwab.
+
2008-02-02 Gary V. Vaughan <gary@gnu.org>
* libltdl/Makefile.inc (EXTRA_DIST): Now that we're not using
# Process with autom4te to create an -*- Autotest -*- test suite.
#
-# Copyright (C) 2004, 2005, 2006, 2007 Free Software Foundation, Inc.
+# Copyright (C) 2004, 2005, 2006, 2007, 2008 Free Software
+# Foundation, Inc.
# Written by Gary V. Vaughan, 2004
#
# This file is part of GNU Libtool.
m4_define([LT_AT_TAG],
[AT_KEYWORDS([$1])
AT_CHECK([{ test -n "[$]$1" && test "X[$]$1" != Xno; } || (exit 77)])
+m4_if([$1], [CXX],
+ [AT_CHECK([test "X$CXX" != Xg++ || (g++ -v >/dev/null 2>&1) || (exit 77)])])
])