aboutsummaryrefslogtreecommitdiff
path: root/libsframe/configure.ac
diff options
context:
space:
mode:
authorIndu Bhagat <indu.bhagat@oracle.com>2022-11-15 15:07:28 -0800
committerIndu Bhagat <indu.bhagat@oracle.com>2022-11-15 15:50:05 -0800
commitc1c57352f56b802393453cfa76326922fd8da2f9 (patch)
tree7d1e3b9b4544487b89c60b8b29445162a0455be1 /libsframe/configure.ac
parentb2cb03d5c3bb0a61d07d00c497a4256f83a894fd (diff)
downloadgdb-c1c57352f56b802393453cfa76326922fd8da2f9.zip
gdb-c1c57352f56b802393453cfa76326922fd8da2f9.tar.gz
gdb-c1c57352f56b802393453cfa76326922fd8da2f9.tar.bz2
doc: add SFrame spec file
ChangeLog: * libsframe/Makefile.am: Add info-in-builddir to AUTOMAKE_OPTIONS. Include doc/local.mk. * libsframe/Makefile.in: Regenerated. * libsframe/configure: Likewise. * libsframe/configure.ac: Check for makeinfo and set BUILD_INFO. * libsframe/doc/local.mk: New file. * libsframe/doc/sframe-spec.texi: Likewise.
Diffstat (limited to 'libsframe/configure.ac')
-rw-r--r--libsframe/configure.ac21
1 files changed, 21 insertions, 0 deletions
diff --git a/libsframe/configure.ac b/libsframe/configure.ac
index a6c1d26..4182a0d 100644
--- a/libsframe/configure.ac
+++ b/libsframe/configure.ac
@@ -59,6 +59,27 @@ AM_CONDITIONAL([HAVE_COMPAT_DEJAGNU], [test "x$ac_cv_dejagnu_compat" = "xyes"])
COMPAT_DEJAGNU=$ac_cv_dejagnu_compat
AC_SUBST(COMPAT_DEJAGNU)
+dnl Check for makeinfo for building documentation
+build_info=
+AC_CHECK_PROGS([MAKEINFO], makeinfo, makeinfo, )
+if test "x$MAKEINFO" = "x"; then
+ MAKEINFO="@echo makeinfo missing; true"
+ build_info=
+else
+ BUILD_INFO=info
+ case "$MAKEINFO" in
+ */missing\ makeinfo*)
+ build_info=
+ AC_MSG_WARN([
+*** Makeinfo is missing. Info documentation will not be built.])
+ ;;
+ *)
+ build_info=yes
+ ;;
+ esac
+fi
+AM_CONDITIONAL(BUILD_INFO, test "${build_info}" = yes)
+
AM_MAINTAINER_MODE
AM_INSTALL_LIBBFD