This patch looks like just what the doctor ordered.

Bob

On 7 Jun 2003, Assar Westerlund wrote:

> Bob Friesenhahn <[EMAIL PROTECTED]> writes:
> > The main Autoconf issue is that each feature test program includes all
> > the #defines generated from any previous test.  This means that if
> > AC_C_INLINE has been executed previously, then a define like
> >
> > #define inline __inline
> >
> > may be automatically generated as part of conftest.c, which causes C++
> > tests which include C++ headers or otherwise use inline to fail.
>
> The patch below seems to make it work correctly for me (for inline and
> C++).  The autoheader tricks is use is kind of evil, and doing this
> right would require going through all the macros and see which of them
> apply for C++.  And this would be a backwards-incompatible change, but
> that should not be a problem since I cannot see how it could have
> worked usefully for people.
>
>

======================================
Bob Friesenhahn
[EMAIL PROTECTED]
http://www.simplesystems.org/users/bfriesen



Reply via email to