diff options
author | DJ Delorie <dj@redhat.com> | 2001-09-27 20:27:58 +0000 |
---|---|---|
committer | DJ Delorie <dj@redhat.com> | 2001-09-27 20:27:58 +0000 |
commit | fa9f0e33b3c0510267d7a41f2f4ee72ba452c37e (patch) | |
tree | eab3f8364165c1526f7ea2a5fef4db2ebda18653 /libiberty/configure.in | |
parent | 0ac8d2cabf050fa3d463a79240ef8e05db368b1f (diff) | |
download | gdb-fa9f0e33b3c0510267d7a41f2f4ee72ba452c37e.zip gdb-fa9f0e33b3c0510267d7a41f2f4ee72ba452c37e.tar.gz gdb-fa9f0e33b3c0510267d7a41f2f4ee72ba452c37e.tar.bz2 |
merge from gcc
Diffstat (limited to 'libiberty/configure.in')
-rw-r--r-- | libiberty/configure.in | 25 |
1 files changed, 13 insertions, 12 deletions
diff --git a/libiberty/configure.in b/libiberty/configure.in index 0f1427a..3417827 100644 --- a/libiberty/configure.in +++ b/libiberty/configure.in @@ -49,18 +49,19 @@ fi AC_SUBST(MAINT)dnl AC_SUBST(NOTMAINT)dnl -# Do we have a single-tree copy of texinfo? -if test -f $srcdir/../texinfo/Makefile.in; then - MAKEINFO='$(objdir)/../texinfo/makeinfo/makeinfo' - AC_MSG_RESULT([Using makeinfo from the unified source tree.]) -else - AC_CHECK_PROG(MAKEINFO, makeinfo, makeinfo, ) -fi -if test x"$MAKEINFO" = x""; then - BUILD_INFO= -else - BUILD_INFO=info -fi +# Do we have a single-tree copy of texinfo? Even if we do, we can't +# rely on it - libiberty is built before texinfo. +AC_CHECK_PROG(MAKEINFO, makeinfo, makeinfo, ) +BUILD_INFO=info +case x"`$MAKEINFO --version | grep 'GNU texinfo'`" in + x*\ [[1-3]].* ) + MAKEINFO="@echo $MAKEINFO is too old, 4.0 or newer required ;true" + BUILD_INFO= + AC_MSG_WARN([ +*** Makeinfo is too old. Info documentation will not be built.]) + ;; +esac +AC_SUBST(MAKEINFO) AC_SUBST(BUILD_INFO) AC_CHECK_PROG(PERL, perl, perl, ) |