[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: GNU gettext 0.10.40 does not repect AM_CONFIG_HEADER
From: |
Bruno Haible |
Subject: |
Re: GNU gettext 0.10.40 does not repect AM_CONFIG_HEADER |
Date: |
Wed, 1 May 2002 01:42:42 +0200 (CEST) |
Roger Leigh writes:
> If I put
>
> AM_CONFIG_HEADER(include/config.h)
>
> in configure.ac, gettext will not honour this in intl/Makefile.am. It
> assumes that config.h will be in the root of the source tree.
>
> I'm not sure how best to fix this.
You can either create a subdirectory containing nothing but a
config.h.in, Makefile.am, intl/ and po/, and a trivial configure.in.
Or use AM_GNU_GETTEXT with the 'external' option (requires
gettext-0.11.2 instead of 0.10.40).
> I AC_SUBST(INCLUDES) in my
> configure.ac and this is automatically used by automake in my
> Makefiles. gettext won't use that though. Possibly gettextize could
> check this and modify intl/Makefile.am accordingly?
That's too hairy. It would be best if the intl/ subdirectory would use
its own separate config.h.in, but unfortunately this doesn't work with
autoconf older than 2.50.
Bruno