1 dnl Process this file with autoconf to produce a configure script.
3 AM_INIT_AUTOMAKE(bison,1.28)
4 AM_CONFIG_HEADER(config.h:config.hin)
7 ALL_LINGUAS="de es fr nl"
9 dnl Checks for programs.
17 dnl Checks for libraries.
19 dnl Checks for header files.
21 AC_CHECK_HEADERS(ctype.h locale.h memory.h stdlib.h string.h unistd.h)
23 dnl Checks for typedefs.
25 dnl Checks for structures.
27 dnl Checks for compiler characteristics.
31 dnl Checks for library functions.
33 AC_CHECK_FUNCS(mkstemp setlocale)
34 BISON_NEED_DECLARATIONS(calloc realloc)
38 # This is necessary so that .o files in LIBOBJS are also built via
39 # the ANSI2KNR-filtering rules.
40 LIBOBJS=`echo $LIBOBJS|sed 's/\.o /\$U.o /g;s/\.o$/\$U.o/'`
42 AC_DEFINE_UNQUOTED(VERSION_STRING, "GNU Bison version ${VERSION}")
43 XPFILE="${datadir}/bison.simple"
44 BISON_DEFINE_FILE(XPFILE, XPFILE)
45 XPFILE1="${datadir}/bison.hairy"
46 BISON_DEFINE_FILE(XPFILE1, XPFILE1)
47 LOCALEDIR="${datadir}/locale"
48 BISON_DEFINE_FILE(LOCALEDIR, LOCALEDIR)
50 AC_OUTPUT(Makefile intl/Makefile po/Makefile.in src/Makefile doc/Makefile)