]> git.draconx.ca Git - cdecl99.git/blob - configure.ac
Initial i18n infrastructure.
[cdecl99.git] / configure.ac
1 dnl Copyright © 2011 Nick Bowler
2 dnl
3 dnl License WTFPL2: Do What The Fuck You Want To Public License, version 2.
4 dnl This is free software: you are free to do what the fuck you want to.
5 dnl There is NO WARRANTY, to the extent permitted by law.
6
7 AC_PREREQ([2.68])
8 AC_INIT([cdecl99], [0.1], [nbowler@draconx.ca])
9 AC_CONFIG_HEADER([config.h])
10 AC_CONFIG_MACRO_DIR([m4])
11
12 AM_INIT_AUTOMAKE([-Wall foreign subdir-objects])
13 AM_SILENT_RULES([yes])
14
15 AC_PROG_CC_C99
16 gl_EARLY
17
18 LT_INIT
19 gl_INIT
20
21 AM_GNU_GETTEXT([external])
22 AM_GNU_GETTEXT_VERSION([0.18.1])
23 DX_LINGUAS
24
25 AC_ARG_VAR([FLEX], [Command to invoke flex.  Defaults to flex.])
26 AC_ARG_VAR([FLEXFLAGS], [Additional options to pass to flex.])
27 AC_CHECK_PROGS([FLEX], [flex], [flex])
28
29 AC_ARG_VAR([BISON], [Command to invoke GNU Bison.  Defaults to bison.])
30 AC_ARG_VAR([BISONFLAGS], [Additional options to pass to Bison.])
31 AC_CHECK_PROGS([BISON], [bison], [bison])
32
33 AC_CONFIG_FILES([
34         lib/Makefile
35         Makefile
36 ])
37 AC_OUTPUT