2 dnl Copyright (C) 2006, 2009-2020 Free Software Foundation, Inc.
3 dnl This file is free software; the Free Software Foundation
4 dnl gives unlimited permission to copy and/or distribute it,
5 dnl with or without modifications, as long as this notice is preserved.
7 # Support for C source files that cannot be compiled by a C++ compiler.
8 # Set NO_CXX to the C++ compiler flags needed to request C mode instead of
10 # So far only g++ is supported. This includes clang++, as it is g++ compatible.
15 AC_EGREP_CPP([Is_g_plus_plus], [
16 #if defined __GNUC__ && defined __cplusplus