Bob Friesenhahn <[EMAIL PROTECTED]> writes: > 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.
Wouldn't that require autoconf to write multiple config.h for multiple languages? That might be a good idea, but it would require the configure script to tell what things should be in common, and quite a bit of restructuring of autoconf.