On 11 Apr 2002 at 19:53, Hrvoje Niksic wrote:

> "Ian Abbott" <[EMAIL PROTECTED]> writes:
> 
> > Perhaps HAVE_NLS is defined but HAVE_LIBINTL_H isn't defined.
> 
> Is that possible?  I thought the lack of HAVE_LIBINTL_H would cause
> HAVE_NLS to be undefined automatically.  I remember that I used to
> compile Wget on platforms that have never seen gettext without
> problems.

As a test, I renamed my /usr/include/libintl.h and ran configure.
It defined HAVE_NLS, but not HAVE_LIBINTL_H.

I see the configure script undefines HAVE_NLS if it can't link to
gettext, but it doesn't seem to mind about the absence of the
header file that declares it.

Nelson confirmed that that was happening on his system but because
his libintl.h file was in /usr/local/include.

Nelson, what happens if you configure it with the option
--x-includes=/usr/local/include ?

Reply via email to