summaryrefslogtreecommitdiff
path: root/libgomp/configure.ac
diff options
context:
space:
mode:
authorDaniel Franke <franke.daniel@gmail.com>2007-01-31 16:30:16 -0500
committerDaniel Franke <dfranke@gcc.gnu.org>2007-01-31 16:30:16 -0500
commit748b9d7c080665bb78100fbfde0a89c87fbd1ae0 (patch)
tree895ee3914e7d70b147db2be01c812b77f431ad83 /libgomp/configure.ac
parent758a2c96339dc9a0134a9b717b2bb74b5b3fd91c (diff)
downloadgcc-748b9d7c080665bb78100fbfde0a89c87fbd1ae0.tar.gz
re PR libgomp/30546 (build fail in libgomp when building from SVN because makeinfo is missing)
2007-01-31 Daniel Franke <franke.daniel@gmail.com> PR libgomp/30546 * configure.ac: Add check for makeinfo * Makefile.am: Redefined target libgomp.info, build libgomp.info only if an appropiate version of makeinfo is found. * aclocal.m4: Regenerated. * configure: Regenerated. * Makefile.in: Regenerated. * testsuite/Makefile.in: Regenerated. From-SVN: r121440
Diffstat (limited to 'libgomp/configure.ac')
-rw-r--r--libgomp/configure.ac8
1 files changed, 8 insertions, 0 deletions
diff --git a/libgomp/configure.ac b/libgomp/configure.ac
index f0b15ed7493..69dd37e7a62 100644
--- a/libgomp/configure.ac
+++ b/libgomp/configure.ac
@@ -130,6 +130,14 @@ AC_PATH_PROG(PERL, perl, perl-not-found-in-path-error)
AC_PROG_MAKE_SET
AC_PROG_INSTALL
+# See if makeinfo has been installed and is modern enough
+# that we can use it.
+ACX_CHECK_PROG_VER([MAKEINFO], [makeinfo], [--version],
+ [GNU texinfo.* \([0-9][0-9.]*\)],
+ [4.[4-9]*])
+AM_CONDITIONAL(BUILD_INFO, test $gcc_cv_prog_makeinfo_modern = "yes")
+
+
# Configure libtool
AM_PROG_LIBTOOL
AC_SUBST(enable_shared)