X-Git-Url: https://git.saurik.com/bison.git/blobdiff_plain/e7ae9cfb4736c9f147aed97a6b195785f5a81a2e..d2e00347cb9261c73aab2e95e2d6bf7f2b38fe0e:/configure.in diff --git a/configure.in b/configure.in index 5711d674..b0444811 100644 --- a/configure.in +++ b/configure.in @@ -1,9 +1,11 @@ dnl Process this file with autoconf to produce a configure script. -AC_INIT(reduce.c) -AM_INIT_AUTOMAKE(bison,1.27) +AC_INIT(src/reduce.c) +AM_INIT_AUTOMAKE(bison,1.28) AM_CONFIG_HEADER(config.h:config.hin) AC_PREREQ(2.13) +ALL_LINGUAS="de es fr nl" + dnl Checks for programs. AC_PROG_CC AC_MINIX @@ -29,10 +31,20 @@ AM_C_PROTOTYPES dnl Checks for library functions. AC_FUNC_ALLOCA AC_CHECK_FUNCS(mkstemp setlocale) +BISON_NEED_DECLARATIONS(calloc realloc) + +AM_GNU_GETTEXT + +# 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/'` -PFILE="${datadir}/bison.simple" -BISON_DEFINE_FILE(XPFILE, PFILE) -PFILE1="${datadir}/bison.hairy" -BISON_DEFINE_FILE(XPFILE1, PFILE1) +AC_DEFINE_UNQUOTED(VERSION_STRING, "GNU Bison version ${VERSION}") +XPFILE="${datadir}/bison.simple" +BISON_DEFINE_FILE(XPFILE, XPFILE) +XPFILE1="${datadir}/bison.hairy" +BISON_DEFINE_FILE(XPFILE1, XPFILE1) +LOCALEDIR="${datadir}/locale" +BISON_DEFINE_FILE(LOCALEDIR, LOCALEDIR) -AC_OUTPUT(Makefile) +AC_OUTPUT(Makefile intl/Makefile po/Makefile.in src/Makefile doc/Makefile)