This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: 3.4 PATCH: Properly check for lrand48 in libstdc++-v3


>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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]