2008-01-02 Tim Retout <diocles@gnu.org>
+ * configure.ac (AC_INIT): Quote arguments.
+ (AC_PREREQ): Bump required autoconf version to 2.61.
+ (AM_CONFIG_HEADER): Change to AC_CONFIG_HEADERS, quote arguments.
+ (AC_STDC_HEADERS): Change to AC_HEADER_STDC, quote arguments.
+ (AC_HAVE_HEADERS): Change to AC_CHECK_HEADERS, quote arguments.
+ Result of running autoupdate.
+ Also tidy order of macros.
+
* configure.ac (AC_ISC_POSIX): Replace with AC_USE_SYSTEM_EXTENSIONS
to silence some aclocal warnings.
dnl Process this file with autoconf to produce a configure script.
-AC_INIT(GNU Enscript, 1.6.4, bug-enscript@gnu.org)
+AC_INIT([GNU Enscript],[1.6.4],[bug-enscript@gnu.org])
+AC_PREREQ([2.61])
AC_CONFIG_SRCDIR([src/gsint.h])
-
-AC_PREREQ(2.57)
+AC_CONFIG_HEADERS([config.h])
AM_INIT_AUTOMAKE
-AM_CONFIG_HEADER(config.h)
AC_PROG_INSTALL
AC_C_CONST
AC_FUNC_ALLOCA
-AC_STDC_HEADERS
-AC_HAVE_HEADERS(string.h stdlib.h unistd.h stdarg.h math.h pwd.h)
-AC_HAVE_HEADERS(sys/types.h sys/stat.h)
+AC_HEADER_STDC
+AC_CHECK_HEADERS([string.h stdlib.h unistd.h stdarg.h math.h pwd.h])
+AC_CHECK_HEADERS([sys/types.h sys/stat.h])
dnl Check some functions.
AC_CHECK_FUNCS(strchr getcwd)