configure.ac: Add a better error message for when makeinfo is missing,
authorng0 <ng0@infotropique.org>
Sat, 14 Oct 2017 08:08:28 +0000 (08:08 +0000)
committerng0 <ng0@infotropique.org>
Sat, 14 Oct 2017 08:08:28 +0000 (08:08 +0000)
and TODO comments on why this is not sufficient.

configure.ac

index 9d1fb9ab35989fb427058f21f992c3b44b0c3947..aa0cd2c985c0132efbf257af6c0a41f121c0ef61 100644 (file)
@@ -248,6 +248,11 @@ then
 fi
 AC_DEFINE_UNQUOTED([NEED_LIBGCRYPT_VERSION], "$NEED_LIBGCRYPT_VERSION", [required libgcrypt version])
 
+# TODO: add check for VERSION
+# TODO: add check for alternatives
+# TODO: add switch to skip documentation building
+AM_MISSING_PROG([MAKEINFO], [makeinfo])
+
 # Adam shostack suggests the following for Windows:
 # -D_FORTIFY_SOURCE=2 -fstack-protector-all
 AC_ARG_ENABLE(gcc-hardening,