| 68 |
# FIXME: Replace `main' with a function in `-lm': |
# FIXME: Replace `main' with a function in `-lm': |
| 69 |
AC_CHECK_LIB(m, sin) |
AC_CHECK_LIB(m, sin) |
| 70 |
|
|
| 71 |
AC_CHECK_LIB(ncurses, tgetent, have_ncurses=yes, have_ncurses=no) |
# check termcap library |
| 72 |
AC_CHECK_LIB(curses, tgetent, have_curses=yes, have_curses=no) |
AM_PATH_TERMCAP |
|
AC_CHECK_LIB(termcap, tgetent, have_termcap=yes, have_termcap=no) |
|
|
TERMCAP_LIBS="" |
|
|
if test x$have_ncurses = xyes; then |
|
|
TERMCAP_LIBS="-lncurses" |
|
|
elif test x$have_curses = xyes; then |
|
|
TERMCAP_LIBS="-lcurses" |
|
|
elif test x$have_termcap = xyes; then |
|
|
TERMCAP_LIBS="-ltermcap" |
|
|
else |
|
|
AC_MSG_ERROR([*** curses or termcap lib not installed - please install first ***]) |
|
|
fi |
|
|
AC_SUBST(TERMCAP_LIBS) |
|
| 73 |
|
|
| 74 |
# FIXME: Replace `main' with a function in `-lsatellite': |
# FIXME: Replace `main' with a function in `-lsatellite': |
| 75 |
#AC_CHECK_LIB([satellite], [main]) |
#AC_CHECK_LIB([satellite], [main]) |
| 84 |
AC_HEADER_SYS_WAIT |
AC_HEADER_SYS_WAIT |
| 85 |
AC_CHECK_HEADERS([fcntl.h float.h locale.h malloc.h stddef.h stdlib.h string.h strings.h sys/file.h sys/ioctl.h sys/param.h sys/time.h sys/timeb.h termios.h unistd.h \ |
AC_CHECK_HEADERS([fcntl.h float.h locale.h malloc.h stddef.h stdlib.h string.h strings.h sys/file.h sys/ioctl.h sys/param.h sys/time.h sys/timeb.h termios.h unistd.h \ |
| 86 |
vfork.h errno.h limits.h memory.h getopt.h pwd.h \ |
vfork.h errno.h limits.h memory.h getopt.h pwd.h \ |
|
ncurses.h termcap.h curses.h term.h \ |
|
| 87 |
windows.h direct.h io.h process.h]) |
windows.h direct.h io.h process.h]) |
| 88 |
|
|
| 89 |
# Checks for typedefs, structures, and compiler characteristics. |
# Checks for typedefs, structures, and compiler characteristics. |