[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: |
Fri, 3 May 2002 22:29:00 +0200 (CEST) |
Roger Leigh writes:
> > > 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.
>
> Sorry, that wasn't very well written. I meant, would it be possible
> to check for AM_CONFIG_HEADER or AC_CONFIG_HEADER?
Depending on the argument of AC_CONFIG_HEADER, one would have to
change the "config.h" in all of intl/*.c to a different name. Or
create a tiny config.h which #includes the real configuration file.
And furthermore modify the INCLUDEs in intl/Makefile.in. I don't like
all this. It'd be better to add a separate intl/config.h.in.
> Another possibility is if AM_INIT_AUTOMAKE is present in configure.ac,
> you could install a Makefile.am instead of Makefile.in. This would
> integrate in a nicer way with the build
Once a Makefile.in exists and satisfies all GNU standard targets,
there is no need for a Makefile.am. Nothing is "nice" about an extra
file when it's not needed.
Bruno