[Top][All Lists]

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

Re: [bug] gettext 0.14.1 : intl/Makefile.in has broken dependency

From: Bruno Haible
Subject: Re: [bug] gettext 0.14.1 : intl/Makefile.in has broken dependency
Date: Mon, 2 Feb 2004 12:01:22 +0100
User-agent: KMail/1.5

Dalibor Topic wrote:
> For kaffe, I've changed the line
> $(OBJECTS): ../config.h libgnuintl.h
> to
> $(OBJECTS): $(top_builddir)/config/config.h libgnuintl.h
> since in our configure.in we have
> AC_CONFIG_HEADERS([config/config.h include/kaffe/jtypes.h])
> so that config.h resides in a subdirectory.

Since the gettext documentation assumes that config.h.in is in the top level
you cannot use the approach to distribute the intl/ directory. What you can
do instead is to call AM_GNU_GETTEXT([external]), and invoke gettextize
without the --intl option.

> Autotools seem to define a
> variable CONFIG_HEADER that may be useful instead of the hardcoded (and
> in our case wrong) path.

They define CONFIG_HEADERS. It's too hairy for gettextize to guess which
of the .h files to depend on; there may be multiple config.h files, or they
may be named differently. I therefore cannot extend gettextize the way you

Thanks for the report, anyway.


reply via email to

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