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
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/'`
-AC_OUTPUT(Makefile)
+AC_OUTPUT([Makefile
+ intl/Makefile po/Makefile.in
+ src/Makefile doc/Makefile m4/Makefile])