(AC_CHECK_DECLS): Add getenv, getopt.

(AM_GNU_GETTEXT_VERSION): New macro, replacing GETTEXT_VERSION var.
Bump version from 0.11.2 to 0.11.5.
(BISON_PREREQ_STAGE): Remove.
(AM_GNU_GETTEXT): Use external gettext.
(AC_OUTPUT): Remove intl/Makefile.
This commit is contained in:
Paul Eggert
2002-08-12 14:00:04 +00:00
parent a861a3390f
commit a447fcd20c

View File

@@ -92,7 +92,7 @@ AC_FUNC_ERROR_AT_LINE
AC_FUNC_STRNLEN
UTILS_FUNC_MKSTEMP
AC_CHECK_FUNCS(setlocale)
AC_CHECK_DECLS([free, stpcpy, strchr, strspn, strnlen,
AC_CHECK_DECLS([getenv, getopt, free, stpcpy, strchr, strspn, strnlen,
malloc, memchr, memrchr])
AC_REPLACE_FUNCS(stpcpy strchr strspn memchr memrchr)
jm_FUNC_MALLOC
@@ -101,11 +101,10 @@ jm_PREREQ_QUOTEARG
jm_PREREQ_ERROR
AM_WITH_DMALLOC
BISON_PREREQ_TIMEVAR
BISON_PREREQ_STAGE
# Gettext.
GETTEXT_VERSION=0.11.2
AM_GNU_GETTEXT(, need-ngettext)
AM_GNU_GETTEXT(external, need-ngettext)
AM_GNU_GETTEXT_VERSION(0.11.5)
# This is necessary so that .o files in LIBOBJS are also built via
# the ANSI2KNR-filtering rules.
@@ -114,7 +113,7 @@ AC_SUBST(LIB@&t@OBJS)
AC_OUTPUT([Makefile
config/Makefile
intl/Makefile po/Makefile.in
po/Makefile.in
data/Makefile
lib/Makefile src/Makefile doc/Makefile
m4/Makefile])