aboutsummaryrefslogtreecommitdiff
path: root/gdb/configure.ac
diff options
context:
space:
mode:
authorJan Kratochvil <jan.kratochvil@redhat.com>2012-02-21 22:00:32 +0000
committerJan Kratochvil <jan.kratochvil@redhat.com>2012-02-21 22:00:32 +0000
commitf06e05e0a4b600e18ab3c0173d89cef745148b59 (patch)
tree667c3adf50cc8d6c8d0c4a954f3f2be1f0b7f8d0 /gdb/configure.ac
parent6a5870cea1620f9309c730a1dd97afac8ca2f8ed (diff)
downloadgdb-f06e05e0a4b600e18ab3c0173d89cef745148b59.zip
gdb-f06e05e0a4b600e18ab3c0173d89cef745148b59.tar.gz
gdb-f06e05e0a4b600e18ab3c0173d89cef745148b59.tar.bz2
gdb/
PR build/13638 * configure.ac (MAKEINFO): Replace AC_CHECK_PROG by AC_ARG_VAR. (MAKEINFOFLAGS): Replace static string by AC_ARG_VAR. * configure: Regenerate.
Diffstat (limited to 'gdb/configure.ac')
-rw-r--r--gdb/configure.ac24
1 files changed, 6 insertions, 18 deletions
diff --git a/gdb/configure.ac b/gdb/configure.ac
index c4c84a0..fbe7d4d 100644
--- a/gdb/configure.ac
+++ b/gdb/configure.ac
@@ -85,24 +85,12 @@ PACKAGE=gdb
AC_DEFINE_UNQUOTED(PACKAGE, "$PACKAGE", [Name of this package. ])
AC_SUBST(PACKAGE)
-# 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, )
-if test "x$MAKEINFO" = "x"; then
- AC_ERROR([makeinfo is required for compilation])
-else
- case "$MAKEINFO" in
- */missing\ makeinfo*)
- AC_ERROR([makeinfo is required for compilation])
- ;;
- esac
-fi
-AC_SUBST(MAKEINFO)
-
-# --split-size=5000000 may be already in $MAKEINFO from parent configure.
-# Re-running configure in gdb/ would lose it so ensure it stays present.
-MAKEINFOFLAGS=${MAKEINFOFLAGS---split-size=5000000}
-AC_SUBST(MAKEINFOFLAGS)
+# We never need to detect it in this sub-configure.
+# But preserve it for config.status --recheck.
+AC_ARG_VAR(MAKEINFO,
+ [Parent configure detects if it is of sufficient version.])
+AC_ARG_VAR(MAKEINFOFLAGS,
+ [Parameters for MAKEINFO.])
MAKEINFO_EXTRA_FLAGS=""
AC_CACHE_CHECK([whether $MAKEINFO supports @click], gdb_cv_have_makeinfo_click,