From: Bruno Haible Date: Sun, 6 Nov 2011 21:33:25 +0000 (+0100) Subject: ansi-c++-opt: Complete the 2011-06-05 change. X-Git-Tag: v0.1~1476 X-Git-Url: https://gitweb.git.savannah.gnu.org/gitweb/?a=commitdiff_plain;h=0ada06493e433443e449048a44dcc119a7613eed;p=gnulib.git ansi-c++-opt: Complete the 2011-06-05 change. * m4/ansi-c++.m4 (gl_PROG_ANSI_CXX): When a C++ compiler is found but does not support namespaces, set the variable to "no", not to ":". --- diff --git a/ChangeLog b/ChangeLog index 8cb5575c41..e10966127b 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2011-11-06 Bruno Haible + + ansi-c++-opt: Complete the 2011-06-05 change. + * m4/ansi-c++.m4 (gl_PROG_ANSI_CXX): When a C++ compiler is found but + does not support namespaces, set the variable to "no", not to ":". + 2011-11-06 Paul Eggert * doc/posix-headers/stdalign.texi (stdalign.h): Mention Sun review ID. diff --git a/m4/ansi-c++.m4 b/m4/ansi-c++.m4 index fbb5d64240..34779530db 100644 --- a/m4/ansi-c++.m4 +++ b/m4/ansi-c++.m4 @@ -1,4 +1,4 @@ -# ansi-c++.m4 serial 8 +# ansi-c++.m4 serial 9 dnl Copyright (C) 2002-2003, 2005, 2010-2011 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, @@ -84,7 +84,7 @@ AC_DEFUN([gl_PROG_ANSI_CXX], AC_LANG_POP([C++]) AC_MSG_RESULT([$gl_cv_prog_ansicxx_works]) if test $gl_cv_prog_ansicxx_works = no; then - CXX=: + CXX=no else dnl Test for namespaces. dnl We don't bother supporting pre-ANSI-C++ compilers. @@ -105,7 +105,7 @@ EOF AC_LANG_POP([C++]) AC_MSG_RESULT([$gl_cv_prog_ansicxx_namespaces]) if test $gl_cv_prog_ansicxx_namespaces = no; then - CXX=: + CXX=no fi fi fi