autoconf
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: HPUX 11.00 with aCC vs. autoconf 2.57 [#8108]


From: Thomas Dickey
Subject: Re: HPUX 11.00 with aCC vs. autoconf 2.57 [#8108]
Date: Sun, 18 May 2003 13:44:33 -0400
User-agent: Mutt/1.3.27i

On Sun, May 18, 2003 at 01:28:31PM -0400, Keith Bostic wrote:
> We're seeing a problem when using the AC_REPLACE_FUNCS macro on
> HPUX 11.00 with aCC:
> 
>       snowshoe.sleepycat.com:Berkeley DB {2} aCC -V
>       aCC: HP ANSI C++ B3910B A.03.13
>       snowshoe.sleepycat.com:Berkeley DB {3} uname -a
>       HP-UX snowshoe B.11.00 A 9000/770 2013231560 two-user license
> 
> The problem is autoconf is inserting the lines:
> 
>       #ifdef __cplusplus
>       #include <stdlib.h>
>       #endif
> 
> in its test program for the AC_REPLACE_FUNCS macro, and,
> with aCC on that results in the following error:

that's a workaround for a defect in glibc (has been in autoconf for a couple
of years).  Ostensibly to provide a prototype for exit(), it actually is used
to allow glibc to tack a "throws" onto the exit() prototype.

-- 
Thomas E. Dickey <address@hidden>
http://invisible-island.net
ftp://invisible-island.net




reply via email to

[Prev in Thread] Current Thread [Next in Thread]