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