]> git.saurik.com Git - bison.git/blobdiff - configure.in
Change the handling of @s so that they behave exactly like $s.
[bison.git] / configure.in
index 1525dc71caa3abc6c3f4cf7adf1f8c86241a3d95..e3fddff0b3cf9f7e05de133f5ad3d8da365fedda 100644 (file)
@@ -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])