X-Git-Url: https://git.saurik.com/bison.git/blobdiff_plain/9eceb6c6d30ba64747911b2267f658d130daa90b..6666f98f4f1997c1325197e6ecdf98d4227c849e:/configure.in diff --git a/configure.in b/configure.in index 1525dc71..e3fddff0 100644 --- a/configure.in +++ b/configure.in @@ -1,8 +1,12 @@ dnl Process this file with autoconf to produce a configure script. -AC_INIT(reduce.c) -AM_INIT_AUTOMAKE(bison,1.26) -AM_CONFIG_HEADER(config.h:config.hin) AC_PREREQ(2.13) +AC_INIT(src/reduce.c) +AM_INIT_AUTOMAKE(bison, 1.28a) +AM_CONFIG_HEADER(config.h:config.hin) +AC_DEFINE_UNQUOTED(VERSION_STRING, "GNU Bison version ${VERSION}", + [The version string.]) + +ALL_LINGUAS="de es fr nl ru" dnl Checks for programs. AC_PROG_CC @@ -29,10 +33,14 @@ AM_C_PROTOTYPES dnl Checks for library functions. AC_FUNC_ALLOCA AC_CHECK_FUNCS(mkstemp setlocale) +BISON_NEED_DECLARATIONS(calloc realloc) + +AM_GNU_GETTEXT -PFILE="${datadir}/bison.simple" -BISON_DEFINE_FILE(XPFILE, PFILE) -PFILE1="${datadir}/bison.hairy" -BISON_DEFINE_FILE(XPFILE1, PFILE1) +# This is necessary so that .o files in LIBOBJS are also built via +# the ANSI2KNR-filtering rules. +LIBOBJS=`echo $LIBOBJS|sed 's/\.o /\$U.o /g;s/\.o$/\$U.o/'` -AC_OUTPUT(Makefile) +AC_OUTPUT([Makefile + intl/Makefile po/Makefile.in + src/Makefile doc/Makefile m4/Makefile])