1dnl Process this file with 'autoconf' to produce a 'configure' script
2dnl $Id: configure.in,v 1.26 2018/07/26 00:14:58 tom Exp $
3AC_REVISION($Revision: 1.26 $)
4
5AC_INIT(esc.c)
6AC_CONFIG_HEADER(config.h:config.hin)
7
8CF_CHECK_CACHE
9
10AC_ARG_PROGRAM
11CF_PROG_CC
12
13AC_PROG_INSTALL
14CF_MAKE_TAGS
15CF_PROG_LINT
16
17CF_WITH_MAN2HTML
18CF_DISABLE_ECHO
19CF_WITH_WARNINGS
20CF_XOPEN_SOURCE
21
22###	extra things that we'll substitute in the makefile
23AC_TYPE_SIGNAL
24AC_STDC_HEADERS
25AC_HAVE_HEADERS( \
26fcntl.h \
27ioctl.h \
28sgtty.h \
29stdlib.h \
30string.h \
31sys/filio.h \
32sys/ioctl.h \
33termio.h \
34termios.h \
35unistd.h \
36)
37
38AC_HAVE_FUNCS( \
39alarm \
40rdchk \
41tcgetattr \
42usleep \
43)
44
45###	special configuration tests
46CF_POSIX_VDISABLE
47CF_FCNTL_VS_IOCTL
48
49###	debugging/testing
50
51###	output makefile and config.h
52AC_OUTPUT(makefile)
53CF_MAKE_DOCS(['$(THIS)'],1)
54