[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Using AC_C_INLINE blows up C++ tests
From: |
Bob Friesenhahn |
Subject: |
Using AC_C_INLINE blows up C++ tests |
Date: |
Fri, 6 Jun 2003 19:59:23 -0500 (CDT) |
If a configure script uses AC_C_INLINE to test the C compiler, and
then later switches the current language to C++ in order to perform
C++ tests, the C++ tests will fail if AC_C_INLINE re-defines 'inline'
to some other string.
It would be useful if Autoconf would hide any re-definition of inline
if the current language is not C.
Bob
======================================
Bob Friesenhahn
address@hidden
http://www.simplesystems.org/users/bfriesen