2014-04-02 Benno Schulenberg <bensberg@justemail.net>
* configure.ac, doc/Makefile.am: Try to build the info documentation
only when 'makeinfo' is available. Patch partly by Mike Frysinger.
+ * configure.ac: Upping the required version of Automake, to ensure the
+ ONCE macros are defined. Suggested by Kamil Dudka and Mike Frysinger.
2014-04-02 Mike Frysinger <vapier@gentoo.org>
* doc/man/{,fr}/Makefile.am: Simplify the man rules still further.
AM_INIT_AUTOMAKE
AC_CONFIG_HEADERS([config.h])
-AC_PREREQ(2.54)
+dnl Make sure the ONCE macros are available.
+
+AC_PREREQ(2.61)
dnl Checks for programs.
dnl Checks for typedefs, structures, and compiler characteristics.
dnl Checks for available flags.
+
AX_CHECK_COMPILE_FLAG([-Wall], [CFLAGS="$CFLAGS -Wall"], [], [])
dnl Checks for library functions.
+
AC_TYPE_SIGNAL
AC_FUNC_VPRINTF
AC_CHECK_FUNCS(getopt_long)
+
dnl Checks for libraries.
if eval "test x$CURSES_LIB_NAME = x"; then