]> git.saurik.com Git - bison.git/blobdiff - configure.in
Released version 1.28.
[bison.git] / configure.in
index 5711d67446e4d6bd359c2443eee496b7e3bc5513..b04448111305831551cf142061276078911feb1b 100644 (file)
@@ -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)