On Thu, Oct 09, 2014 at 09:27:55AM +0200, FX wrote: > > The attached patch prevents libquadmath from installing its info file if > > the library is not actually built. > > Tested on x86_64-linux, both on a built with libquadmath (normal) and > > without (tweaking configure so it thinks _float128 is not supported). > > > > OK to commit? > > Again, with correct ChangeLog entry including regeneration of Makefile.in >
Index: Makefile.am =================================================================== --- Makefile.am (revision 215887) +++ Makefile.am (working copy) @@ -158,10 +158,18 @@ # the relative path from the current `Makefile.am' to `texinfo.tex'. TEXINFO_TEX = ../gcc/doc/include/texinfo.tex + # Defines info, dvi, pdf and html targets MAKEINFOFLAGS = -I $(srcdir)/../gcc/doc/include + +if BUILD_LIBQUADMATH info_TEXINFOS = libquadmath.texi libquadmath_TEXINFOS = libquadmath-vers.texi +else +info_TEXINFOS = +libquadmath_TEXINFOS = +endif libquadmath-vers.texi: echo "@set BUGURL $(REPORT_BUGS_TEXI)" > $@ + Please avoid the vertical whitespace changes before MAKEINFOFLAGS and after libquadmath-vers.texi goal. Ok with that change. Jakub