automake
[Top][All Lists]
Advanced

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

Re: package-provided libintl.h not found


From: Ralf Wildenhues
Subject: Re: package-provided libintl.h not found
Date: Wed, 28 Dec 2005 11:12:32 +0100
User-agent: Mutt/1.5.11

Hi Claudio,

* Claudio Jolowicz wrote on Tue, Dec 27, 2005 at 07:07:34PM CET:
> 
> My package contains the libintl sources in the intl/ subdirectory
> (produced by gettextize with --intl) and sources for a portability
> library in the lib/ subdirectory (produced by gnulib-tool).
> 
> When building the portability library with NLS enabled, on a system
> lacking libintl.h, make fails with:
> 
>   In file included from xalloc-die.c:31:
>   gettext.h:25:22: libintl.h: No such file or directory
> 
> This could probably be fixed by adding a `AM_CPPFLAGS = -I
> $(top_srcdir)/intl' to the lib/Makefile.am. But this file is generated
> by gnulib-tool, which does not seem to allow for Makefile extensions.

> Any ideas?

You could
  AC_SUBST([AM_CPPFLAGS], ['-I$(top_srcdir)/intl'])

in configure.ac.  Shouldn't ${INCINTL} be set appropriately, too?

Cheers,
Ralf




reply via email to

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