summaryrefslogtreecommitdiff
path: root/configure.in
blob: 818244ac09a7e3462ffa1cd0fc046cdcf20e5729 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
dnl Process this file with autoconf to produce a configure script.
dnl
AC_INIT(scan.l)
AC_CONFIG_HEADER(config.h:conf.in)

AC_LN_S
AC_PROG_YACC
AC_PROG_CC
AC_PROG_RANLIB
AC_PROG_INSTALL
AC_PROG_MAKE_SET
AC_CONST
AC_TYPE_SIZE_T
AC_HEADER_STDC
AC_HAVE_HEADERS(string.h malloc.h sys/types.h)

case "$YACC" in
*bison*)
  AC_ALLOCA
  ;;
esac

AC_CONFIG_SUBDIRS(tests)

AC_OUTPUT(Makefile,
[test -z "$CONFIG_HEADERS" || echo timestamp > stamp-h])