X-Git-Url: https://git.saurik.com/bison.git/blobdiff_plain/84614e137327c1ed6eba23c9b89bd6e587de0d45..8442d6ba228133aba0bc2ada30b8796229884223:/configure.in diff --git a/configure.in b/configure.in index edc390c5..115b8671 100644 --- a/configure.in +++ b/configure.in @@ -78,11 +78,7 @@ AC_DEFINE([_GNU_SOURCE],1,[Define to 1 for GNU C library extensions.]) # Checks for header files. AC_HEADER_STDC -AC_CHECK_HEADERS(ctype.h locale.h memory.h stdlib.h string.h unistd.h) - -# Checks for typedefs. - -# Checks for structures. +AC_CHECK_HEADERS([ctype.h locale.h memory.h stdlib.h string.h unistd.h]) # Checks for compiler characteristics. AC_C_CONST @@ -96,15 +92,19 @@ AC_FUNC_ERROR_AT_LINE AC_FUNC_STRNLEN UTILS_FUNC_MKSTEMP AC_CHECK_FUNCS(setlocale) -AC_CHECK_DECLS([free, stpcpy, strchr, strspn, strnlen, malloc, memchr, memrchr]) +AC_CHECK_DECLS([getenv, getopt, free, stpcpy, strchr, strspn, strnlen, + malloc, memchr, memrchr]) AC_REPLACE_FUNCS(stpcpy strchr strspn memchr memrchr) jm_FUNC_MALLOC jm_FUNC_REALLOC jm_PREREQ_QUOTEARG jm_PREREQ_ERROR AM_WITH_DMALLOC +BISON_PREREQ_TIMEVAR -AM_GNU_GETTEXT(, need-ngettext) +# Gettext. +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. @@ -113,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])