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

Benjamin Kosnik bkoz@redhat.com
Wed Oct 1 20:02:00 GMT 2003


>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



More information about the Libstdc++ mailing list