aboutsummaryrefslogtreecommitdiff
path: root/libiberty/configure.in
diff options
context:
space:
mode:
authorAlan Modra <amodra@bigpond.net.au>2001-11-04 07:42:47 +0000
committerAlan Modra <amodra@gcc.gnu.org>2001-11-04 18:12:47 +1030
commitf749bd83cb80e61bb524d2e7841ccc559a350914 (patch)
tree3073da15c38f7ffc59a1396e2178bfd1a80d912d /libiberty/configure.in
parente9818db20167932f67dfdc22ea3f10f106271e6e (diff)
downloadgcc-f749bd83cb80e61bb524d2e7841ccc559a350914.zip
gcc-f749bd83cb80e61bb524d2e7841ccc559a350914.tar.gz
gcc-f749bd83cb80e61bb524d2e7841ccc559a350914.tar.bz2
* configure.in: Cope with missing makeinfo.
From-SVN: r46767
Diffstat (limited to 'libiberty/configure.in')
-rw-r--r--libiberty/configure.in19
1 files changed, 12 insertions, 7 deletions
diff --git a/libiberty/configure.in b/libiberty/configure.in
index 3417827..505b520 100644
--- a/libiberty/configure.in
+++ b/libiberty/configure.in
@@ -52,15 +52,20 @@ AC_SUBST(NOTMAINT)dnl
# 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"
+if test "x$MAKEINFO" = "x"; then
+ MAKEINFO="@echo makeinfo missing; true"
BUILD_INFO=
- AC_MSG_WARN([
+else
+ 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
+ ;;
+ esac
+fi
AC_SUBST(MAKEINFO)
AC_SUBST(BUILD_INFO)