* configure.in: Test for libintl.h.

Krister Walfridsson cato@df.lth.se
Thu May 1 14:59:00 GMT 2003


On Wed, 30 Apr 2003, Phil Edwards wrote:

> Duh.
>
> Maintains the situation on x86/linux.  Should catch all freebsd situations
> now.
>
>
> 2003-04-30  Phil Edwards  <pme@gcc.gnu.org>
>
> 	* acinclude.m4:  Add bit missing from previous patch.
> 	* aclocal.m4, configure:  Regenerated.

This is (still) not enough. :-)  (at least not for NetBSD.)

There are two problems:

1. This test is only done for USE_NLS = yes, but the gettext function is
   used in libstdc++-v3/src/functexcept.cc if _GLIBCPP_HAVE_LIBINTL_H is
   defined, which it may be regardless of the status of USE_NLS.

2. USE_NLS is only set to 'yes' if enable_clocale_flag = gnu.
   configure does however use enable_clocale_flag = generic for NetBSD...

   /Krister



More information about the Libstdc++ mailing list