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