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)" > $@
+
