X-Git-Url: http://git.savannah.gnu.org/gitweb/?p=enscript.git;a=blobdiff_plain;f=configure.ac;h=9c72f8cd7713f77003cbce5504d669572800d812;hp=5aca44dae09684046f1ff6e1fa338c305eaade98;hb=2b52dd33bff93e1201253a0b6b028da955ad5d0d;hpb=23d92d23645b2a1b5c8134334506b90c90c01ad5 diff --git a/configure.ac b/configure.ac index 5aca44d..9c72f8c 100644 --- a/configure.ac +++ b/configure.ac @@ -1,27 +1,24 @@ 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_REVISION($Revision: 1.1.1.1 $) AC_PROG_INSTALL AC_PROG_CC -AC_ISC_POSIX +AC_USE_SYSTEM_EXTENSIONS AM_C_PROTOTYPES 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) @@ -99,12 +96,14 @@ AC_ARG_WITH(ps-level, AC_SUBST(PSLEVEL) dnl Internationalization. -ALL_LINGUAS="de es fi fr nl ru sl" AM_GNU_GETTEXT +AM_GNU_GETTEXT_VERSION([0.17]) dnl Path separator character. -AC_DEFINE_UNQUOTED(PATH_SEPARATOR, ':') -AC_DEFINE_UNQUOTED(PATH_SEPARATOR_STR, ":") +AC_DEFINE_UNQUOTED([PATH_SEPARATOR], [':'], + [Character used to separate path components.]) +AC_DEFINE_UNQUOTED([PATH_SEPARATOR_STR], [":"], + [Character used to separate path components, as string.]) dnl dnl Scripts @@ -119,7 +118,7 @@ dnl substitutions AC_SUBST(CFLAGS) AC_SUBST(LDFLAGS) -AC_CONFIG_FILES([Makefile po/Makefile.in m4/Makefile intl/Makefile po/Makefile \ +AC_CONFIG_FILES([Makefile po/Makefile.in intl/Makefile po/Makefile \ compat/Makefile \ afm/Makefile \ afmlib/Makefile \ @@ -132,7 +131,7 @@ AC_CONFIG_FILES([Makefile po/Makefile.in m4/Makefile intl/Makefile po/Makefile states/tests/Makefile \ docs/Makefile \ w32/Makefile]) -AC_CONFIG_COMMANDS([default],[[ echo timestamp > stamp-h ]], [[]]) + AC_OUTPUT echo ""