+2009-05-14 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
+
+ testsuite: skip `Multiple languages' test without C++ compiler.
+ * tests/compile.at (Multiple languages): Skip test on systems
+ without a C++ compiler.
+ Report by Jim Meyering.
+
2009-05-13 Eric Blake <ebb9@byu.net>
Document zsh bug with empty commands.
AT_BANNER([Low level compiling/preprocessing macros.])
-# Copyright (C) 2000, 2001, 2003, 2005, 2006, 2007, 2008 Free Software
-# Foundation, Inc.
+# Copyright (C) 2000, 2001, 2003, 2005, 2006, 2007, 2008, 2009 Free
+# Software Foundation, Inc.
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
AT_CHECK_AUTOCONF
AT_CHECK_CONFIGURE
+# This test should be skipped on systems without a C++ compiler.
+AT_DATA([configure.ac],
+[[AC_INIT
+
+AC_PROG_CXX
+AC_LANG_PUSH([C++])
+AC_COMPILE_IFELSE([
+ AC_LANG_PROGRAM([[
+ #ifndef __cplusplus
+ choke me
+ #endif
+ ]])], [], AS_EXIT([77]))
+AC_LANG_POP([C++])
+]])
+
+AT_CHECK_AUTOCONF
+AT_CHECK_CONFIGURE
+
AT_DATA([configure.ac],
[[AC_INIT