bug-gnu-utils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[gettext] Re: GNU Gettext headers


From: Bruno Haible
Subject: [gettext] Re: GNU Gettext headers
Date: Mon, 7 May 2001 15:23:19 +0200 (CEST)

Andrew Clausen wrote on 1999-11-07;

> Packages using gettext include a version of the libintl
> sources.  However, authors are not instructed to use
> the includes (i.e. $(top_srcdir)/intl/libintl.h)
> ...
> My solution has been to add a variable INTLINCS, by
> changing configure.in:
>
> AM_GNU_GETTEXT
> if test "$USE_INCLUDED_LIBINTL" = "yes"; then
>         INTLINCS=`-I$(top_srcdir)/intl`
> fi
> AC_SUBST(INTLINCS)

Thanks for the report.
In gettext-0.10.37 you can unconditionally use  -I$(top_builddir)/intl.
This directory will contain a libintl.h file if and only if
USE_INCLUDED_LIBINTL is set; if not, your  #include <libintl.h>
statement will refer to the system's header,

Bruno



reply via email to

[Prev in Thread] Current Thread [Next in Thread]