lac : a4bfcee71a61a1159e6eb09b655be5763ef2f012
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([Requires bison 3.0 or later]))
15: AX_PROG_FLEX([], AC_MSG_ERROR([Requires flex]))
16: AC_PROG_YACC
17: AM_PROG_LEX
18:
19: # Checks for libraries.
20: PKG_CHECK_MODULES([BDW_GC],[bdw-gc])
21: gl_LIBSIGSEGV
22: gl_FUNC_READLINE
23:
24: # Checks for header files.
25: AC_CHECK_HEADERS([inttypes.h limits.h stdint.h stdlib.h string.h strings.h sys/time.h unistd.h])
26:
27: # Checks for typedefs, structures, and compiler characteristics.
28: AC_C_INLINE
29: AC_TYPE_SIZE_T
30:
31: # Checks for library functions.
32: AC_FUNC_ALLOCA
33: AC_FUNC_MALLOC
34: AC_CHECK_FUNCS([gettimeofday memset strtol])
35:
36: LT_INIT()
37:
38: CPPFLAGS = -DLAC_SYSDIR='"$(datadir)"' @CPPFLAGS@
39:
40: AC_CONFIG_FILES([Makefile
41: src/Makefile
42: src/lib/Makefile
43: src/repl/Makefile
44: examples/Makefile])
45: AC_CONFIG_HEADERS([config.h])
46: AC_OUTPUT
Generated by git2html.