dnl Process this file with 'autoconf' to produce a 'configure' script dnl $Id: configure.in,v 1.8 1996/08/16 10:45:51 tom Exp $ AC_REVISION($Revision: 1.8 $) AC_CONFIG_HEADER(config.h:config.hin) AC_INIT(esc.c) AC_PROG_CC AC_PROG_INSTALL AC_GCC_TRADITIONAL ### use option -with-warnings to turn on all gcc warnings if test -n "$GCC" then AC_ARG_WITH(warnings, [ --with-warnings use gcc warnings (used for developing this tool)], [CFLAGS="$CFLAGS -Wall -Wshadow -Wconversion -Wstrict-prototypes -Wmissing-prototypes"]) fi ### extra things that we'll substitute in the makefile AC_TYPE_SIGNAL AC_STDC_HEADERS AC_HAVE_HEADERS( \ ioctl.h \ sgtty.h \ stdlib.h \ string.h \ sys/filio.h \ sys/ioctl.h \ termio.h \ termios.h \ unistd.h \ ) AC_HAVE_FUNCS( \ alarm \ rdchk \ tcgetattr \ usleep \ ) ### special configuration tests ### debugging/testing ### output makefile and config.h AC_OUTPUT(makefile)