dnl Process this file with autoconf to produce a configure script. dnl This file is part of flex. dnl Redistribution and use in source and binary forms, with or without dnl modification, are permitted provided that the following conditions dnl are met: dnl 1. Redistributions of source code must retain the above copyright dnl notice, this list of conditions and the following disclaimer. dnl 2. Redistributions in binary form must reproduce the above copyright dnl notice, this list of conditions and the following disclaimer in the dnl documentation and/or other materials provided with the distribution. dnl Neither the name of the University nor the names of its contributors dnl may be used to endorse or promote products derived from this software dnl without specific prior written permission. dnl THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR dnl IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED dnl WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR dnl PURPOSE. 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])