dnl Process this file with autoconf to produce a configure script.
AC_INIT(termcap.h)

AC_ARG_ENABLE(install-termcap,
[  --enable-install-termcap install the termcap data file],
[if test $enableval = yes; then
   installdata=install-data uninstalldata=uninstall-data
 fi])
AC_SUBST(installdata)dnl
AC_SUBST(uninstalldata)dnl

AC_ARG_WITH(termcap,
[  --with-termcap=FILE     use data file FILE instead of /etc/termcap],
termcapfile=$withval, termcapfile=/etc/termcap)
AC_SUBST(termcapfile)dnl

AC_PROG_CC
AC_PROG_RANLIB
AC_PROG_INSTALL
AC_HAVE_HEADERS(string.h unistd.h)
AC_STDC_HEADERS

AC_OUTPUT(Makefile)
