dnl Process this file with autoconf to produce a configure script.
dnl
AC_INIT(scan.c)
OZ_INIT
AC_CONFIG_HEADER(config.h:conf.in)

dnl AC_LN_S
OZ_CC_CHOOSE
OZ_PROG_BISON
dnl AC_PROG_RANLIB
dnl AC_PROG_INSTALL
AC_CONST
AC_TYPE_SIZE_T
AC_HEADER_STDC
AC_HAVE_HEADERS(string.h malloc.h sys/types.h)

AC_CHECK_PROGS(STRIP,strip,strip)

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

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

errprint(ifdef([OZ_INIT],
 [autoconf succeeded
],
 [autoconf failed: use 'autoconf -l ../../../..' to include ../../../../aclocal.m4.
]))
