summaryrefslogtreecommitdiff
path: root/lib/termcap/grot/configure.in
blob: f3f944f9c5741ed490cff74890228fc819288a8d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
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)