This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Fwd: [patch, libgomp, build] PR30546 build fail in libgomp when building from SVN because makeinfo is missing


On Tue, Jan 30, 2007 at 10:31:45AM +0100, Paolo Bonzini wrote:
> 
> >Changes were applied to configure.ac, acinclude.m4 and Makefile.am, the
> >remaining changes are generated by autotools. Changes to Makefile.am are
> >messy and mostly copy-paste from gcc/Makefile.in. The macro 
> >AC_CHECK_PROG_VER
> >in acinclude.m4, is a cleaned-up copy of gcc_AC_CHECK_PROG_VER.
> 
> This part is fine, except that you should put it in config/acx.m4 and 
> call it ACX_CHECK_PROG_VER (hoping to use it later in gcc too).

Alternatively, the toplevel configure already sets MAKEINFO var,
so if it is outdated, it would be */missing makeinfo arguments
(without --run).

> I think it is possible to obtain the same result with barely any 
> Makefile.am hacking, using this in configure.ac:
> 
> AM_CONDITIONAL(BUILD_INFO, [test $gcc_cv_prog_makeinfo_modern = yes])
> 
> and this in Makefile.am:
> 
> if BUILD_INFO
> info_TEXINFOS = libgomp.texi
> endif

I tried that a few days ago, but automake screwed it up, eventhough
info_TEXINFOS was conditionalized, INFO_DEPS = libgomp.info
in Makefile.in was unconditional and therefore it insisted to
regenerate the file anyway.

	Jakub


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]