[SCM] GNU Autoconf source repository branch, master, updated. v2.63b-45-g83d976a

"Ralf Wildenhues" <[email protected]>
Newsgroups gmane.comp.sysutils.autoconf.cvs
Message-ID <[email protected]>
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GNU Autoconf source repository".

http://git.sv.gnu.org/gitweb/?p=autoconf.git;a=commitdiff;h=83d976a33f322ffb164433db6aa3bb6f78e40333

The branch, master has been updated
       via  83d976a33f322ffb164433db6aa3bb6f78e40333 (commit)
      from  780a068d297868cf3dd617ef12676cbfc3a05862 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 83d976a33f322ffb164433db6aa3bb6f78e40333
Author: Ralf Wildenhues <[email protected]>
Date:   Thu May 14 07:20:58 2009 +0200

    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.
    
    Signed-off-by: Ralf Wildenhues <[email protected]>

-----------------------------------------------------------------------

Summary of changes:
 ChangeLog        |    7 +++++++
 tests/compile.at |   22 ++++++++++++++++++++--
 2 files changed, 27 insertions(+), 2 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index 88f4171..160449d 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2009-05-14  Ralf Wildenhues  <[email protected]>
+
+	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  <[email protected]>
 
 	Document zsh bug with empty commands.
diff --git a/tests/compile.at b/tests/compile.at
index 6ca4ef4..20398fb 100644
--- a/tests/compile.at
+++ b/tests/compile.at
@@ -2,8 +2,8 @@
 
 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
@@ -219,6 +219,24 @@ AC_COMPILE_IFELSE([
 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
 


hooks/post-receive
-- 
GNU Autoconf source repository
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.