This is the mail archive of the
libstdc++@gcc.gnu.org
mailing list for the libstdc++ project.
Re: * configure.in: Test for libintl.h.
- From: Krister Walfridsson <cato at df dot lth dot se>
- To: Phil Edwards <phil at jaj dot com>
- Cc: pfeifer at dbai dot tuwien dot ac dot at, <rittle at labs dot mot dot com>, <libstdc++ at gcc dot gnu dot org>
- Date: Thu, 1 May 2003 16:59:08 +0200 (MEST)
- Subject: Re: * configure.in: Test for libintl.h.
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