This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Autoconf 2.59 breaks libstdc++ checks
- From: Andreas Schwab <schwab at suse dot de>
- To: Kean Johnston <jkj at sco dot com>
- Cc: GCC development group <gcc at gcc dot gnu dot org>
- Date: Thu, 06 May 2004 01:09:07 +0200
- Subject: Re: Autoconf 2.59 breaks libstdc++ checks
- References: <4099680D.5070003@sco.com>
Kean Johnston <jkj@sco.com> writes:
> The problem is the new code there does a #undef $1. This is
> what is breaking things, and its wrong. It is a perfectly
> valid thing for an OS to use #define to implement some function
> in terms of another.
But unless stated otherwise, all functions in the C library are also
required to be provided as indentifiers with external linkage.
> For example, to implement isinf() in terms of a call to fpclassify().
The C standard explicitly says that isinf is a macro, so IMHO
AC_CHECK_FUNC is not the right way to check for its existence.
Andreas.
--
Andreas Schwab, SuSE Labs, schwab@suse.de
SuSE Linux AG, Maxfeldstraße 5, 90409 Nürnberg, Germany
Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5
"And now for something completely different."