[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
C++ and AC_C_INLINE for small projects
From: |
Olaf Lenz |
Subject: |
C++ and AC_C_INLINE for small projects |
Date: |
Thu, 16 Oct 2003 12:10:59 +0200 |
User-agent: |
Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.5b) Gecko/20030923 |
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hello!
I'm not an autoconf expert, so please excuse any novice errors.
I'm working on AIX with the C++ compiler xlC 6.
Because I have read the thread "Using AC_C_INLINE blows up C++ tests" in June,
I've already updated autoconf to version 2.57b, so the patch described in the
thread is incorporated.
The problem is, that the patch only workds when the autoconfigured package uses
the config.h-Header file.
When the package is only a small package that wants to get its definition via
the command line, you're still lost as you only get the "-Dinline=__inline" (or
whatever) definition, even when compiling a C++-file.
Any ideas?
Olaf
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (FreeBSD)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQE/jm6wtQ3riQ3oo/oRAqDDAKCGglGdIFAu28iEQHoHmHwXrjWTSACghh0+
KGJq3zzVGrQSOlcUvnzLyHI=
=t7/n
-----END PGP SIGNATURE-----
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- C++ and AC_C_INLINE for small projects,
Olaf Lenz <=