1AC_PREREQ([2.60])
2# Manually increment on updates to https://github.com/johnkerl/miller/releases
3AC_INIT([mlr],[5.10.2])
4AC_CONFIG_SRCDIR([c/mlrmain.c])
5AC_CONFIG_HEADERS([config.h])
6AC_CONFIG_AUX_DIR([autotools])
7AC_CONFIG_MACRO_DIR([m4])
8AM_INIT_AUTOMAKE
9
10AC_CANONICAL_HOST
11AC_PROG_CC
12m4_ifdef([AM_PROG_AR], [AM_PROG_AR])
13AM_PROG_LEX
14AC_EXEEXT
15LT_INIT
16
17# TODO: better source handling for lemon sources?
18# perhaps lemon can be improved to survive being called from the build dir
19AC_CONFIG_LINKS([c/parsing/lempar.c:c/parsing/lempar.c])
20AC_CONFIG_LINKS([c/parsing/mlr_dsl_parse.y:c/parsing/mlr_dsl_parse.y])
21
22AC_CONFIG_FILES([Makefile
23		c/cli/Makefile
24		c/containers/Makefile
25		c/parsing/Makefile
26		c/dsl/Makefile
27		c/experimental/Makefile
28		c/input/Makefile
29		c/lib/Makefile
30		c/mapping/Makefile
31		c/output/Makefile
32		c/stream/Makefile
33		c/auxents/Makefile
34		c/unit_test/Makefile
35		c/reg_test/Makefile
36		c/reg_test/expected/Makefile
37		c/reg_test/input/Makefile
38		c/reg_test/input/rfc-csv/Makefile
39		c/reg_test/input/comments/Makefile
40		c/Makefile
41		man/Makefile])
42AC_OUTPUT
43