This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: Fwd: [patch, libgomp, build] PR30546 build fail in libgomp when building from SVN because makeinfo is missing
- From: Jakub Jelinek <jakub at redhat dot com>
- To: Paolo Bonzini <paolo dot bonzini at lu dot unisi dot ch>
- Cc: Daniel Franke <franke dot daniel at gmail dot com>, gcc-patches at gcc dot gnu dot org
- Date: Tue, 30 Jan 2007 04:44:02 -0500
- Subject: Re: Fwd: [patch, libgomp, build] PR30546 build fail in libgomp when building from SVN because makeinfo is missing
- References: <200701301012.52000.franke.daniel@gmail.com> <45BF1081.7020304@lu.unisi.ch>
- Reply-to: Jakub Jelinek <jakub at redhat dot com>
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