This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: 3.4 PATCH: Properly check for lrand48 in libstdc++-v3
- From: Benjamin Kosnik <bkoz at redhat dot com>
- To: Rainer Orth <ro at TechFak dot Uni-Bielefeld dot DE>
- Cc: gcc-patches at gcc dot gnu dot org, libstdc++ at gcc dot gnu dot org
- Date: Wed, 1 Oct 2003 15:02:11 -0500
- Subject: Re: 3.4 PATCH: Properly check for lrand48 in libstdc++-v3
- Organization: Red Hat / Chicago
- References: <16251.10396.762358.775446@xayide.TechFak.Uni-Bielefeld.DE>
>Fri Aug 8 00:00:31 2003 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
>
> * linkage.m4 (GLIBCXX_CHECK_STDLIB_DECL_AND_LINKAGE_0): Define.
> (GLIBCXX_CHECK_STDLIB_SUPPORT): Use it to test for lrand48
> instead of drand48.
> * acconfig.h (HAVE_DRAND48): Renamed to HAVE_LRAND48.
> * crossconfig.m4 (*-freebsd*): Define HAVE_LRAND48 instead of
> HAVE_DRAND48.
> * config.h.in, configure: Regenerate.
> * include/bits/stl_algo.h: Use _GLIBCXX_HAVE_LRAND48 to guard
> lrand48 use.
Looks good, thanks!
-benjamin