From: Bruno Haible Date: Fri, 22 Dec 2006 12:52:14 +0000 (+0000) Subject: Move the 'no-c++' module to gnulib. X-Git-Tag: v0.17~538 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5ed4ee7734bf36f0cdf1dbfbca7ec105c274164b;p=thirdparty%2Fgettext.git Move the 'no-c++' module to gnulib. --- diff --git a/gnulib-local/ChangeLog b/gnulib-local/ChangeLog index bfefbfeb3..6337305b2 100644 --- a/gnulib-local/ChangeLog +++ b/gnulib-local/ChangeLog @@ -355,6 +355,13 @@ * lib/term-ostream.oo.c (out_attr_change): Fix uses of color_bgr. +2006-12-22 Bruno Haible + + Move no-c++ module to gnulib. + * modules/no-c++: Remove file. + * m4/no-c++.m4: Remove file. + * Makefile.am (EXTRA_DIST): Remove them. + 2006-11-28 Bruno Haible Guard against interruption with Ctrl-Z. diff --git a/gnulib-local/Makefile.am b/gnulib-local/Makefile.am index dfab9ef3f..62b18982b 100644 --- a/gnulib-local/Makefile.am +++ b/gnulib-local/Makefile.am @@ -262,7 +262,6 @@ m4/hard-locale.m4.diff \ m4/libcroco.m4 \ m4/libglib.m4 \ m4/libxml.m4 \ -m4/no-c++.m4 \ m4/java.m4 \ m4/quotearg.m4.diff \ m4/quote.m4.diff \ @@ -299,7 +298,6 @@ modules/libxml \ modules/memory-ostream \ modules/moo \ modules/moo-tests \ -modules/no-c++ \ modules/ostream \ modules/progreloc \ modules/propername \ diff --git a/gnulib-local/m4/no-c++.m4 b/gnulib-local/m4/no-c++.m4 deleted file mode 100644 index e1b4ec8a7..000000000 --- a/gnulib-local/m4/no-c++.m4 +++ /dev/null @@ -1,22 +0,0 @@ -# no-c++.m4 serial 1 (gettext-0.16.2) -dnl Copyright (C) 2006 Free Software Foundation, Inc. -dnl This file is free software; the Free Software Foundation -dnl gives unlimited permission to copy and/or distribute it, -dnl with or without modifications, as long as this notice is preserved. - -# Support for C source files that cannot be compiled by a C++ compiler. -# Set NO_CXX to the C++ compiler flags needed to request C mode instead of -# C++ mode. -# So far only g++ is supported. - -AC_DEFUN([gt_NO_CXX], -[ - NO_CXX= - AC_EGREP_CPP([Is g++], [ -#if defined __GNUC__ && defined __cplusplus - Is g++ -#endif - ], - [NO_CXX="-x c"]) - AC_SUBST([NO_CXX]) -]) diff --git a/gnulib-local/modules/no-c++ b/gnulib-local/modules/no-c++ deleted file mode 100644 index 2f9e7c11b..000000000 --- a/gnulib-local/modules/no-c++ +++ /dev/null @@ -1,21 +0,0 @@ -Description: -Support for compiling in C mode when CC is set to a C++ compiler. - -Files: -m4/no-c++.m4 - -Depends-on: - -configure.ac: -gt_NO_CXX - -Makefile.am: - -Include: - -License: -LGPL - -Maintainer: -Bruno Haible -