lac : e5f035458c2576a00afa48b0d8fab07ba024d888
1: # -*- Autoconf -*-
2: # Process this file with autoconf to produce a configure script.
3:
4: AC_PREREQ([2.69])
5: AC_INIT([lac],[0.1.0],[lac@tlbflush.org])
6: AM_INIT_AUTOMAKE()
7: AC_CONFIG_SRCDIR([src/repl/lac.c])
8: AC_CONFIG_MACRO_DIRS([m4])
9:
10: # Checks for programs.
11: AC_PROG_CC
12:
13: AC_PATH_PROG([BISON],[bison])
14: AX_PROG_BISON_VERSION([3.0], [], AC_MSG_ERROR([Require bison 3.0 or later]))
15: AC_PROG_YACC
16: AM_PROG_LEX
17:
18: # Checks for libraries.
19: gl_LIBSIGSEGV
20: gl_FUNC_READLINE
21: PKG_CHECK_MODULES([BDW_GC],[bdw-gc])
22:
23: # Checks for header files.
24: AC_CHECK_HEADERS([inttypes.h limits.h stdint.h stdlib.h string.h strings.h sys/time.h unistd.h])
25:
26: # Checks for typedefs, structures, and compiler characteristics.
27: AC_C_INLINE
28: AC_TYPE_SIZE_T
29:
30: # Checks for library functions.
31: AC_FUNC_ALLOCA
32: AC_FUNC_MALLOC
33: AC_CHECK_FUNCS([gettimeofday memset strtol])
34:
35: LT_INIT()
36:
37: CPPFLAGS = -DLAC_SYSDIR='"$(datadir)"' @CPPFLAGS@
38:
39: AC_CONFIG_FILES([Makefile
40: src/Makefile
41: src/lib/Makefile
42: src/repl/Makefile
43: examples/Makefile])
44: AC_CONFIG_HEADERS([config.h])
45: AC_OUTPUT
Generated by git2html.