24 lines
551 B
Plaintext
24 lines
551 B
Plaintext
dnl Process this file with autoconf to produce a configure script.
|
|
AC_INIT(main.c)
|
|
|
|
dnl Checks for programs.
|
|
AC_PROG_CC
|
|
|
|
dnl Checks for libraries.
|
|
AC_CHECK_LIB(util, forkpty)
|
|
|
|
dnl Checks for header files.
|
|
AC_HEADER_STDC
|
|
AC_CHECK_HEADERS(sys/ioctl.h sys/resource.h pty.h termios.h util.h unistd.h)
|
|
|
|
dnl Checks for typedefs, structures, and compiler characteristics.
|
|
AC_TYPE_PID_T
|
|
|
|
dnl Checks for library functions.
|
|
AC_PROG_GCC_TRADITIONAL
|
|
AC_TYPE_SIGNAL
|
|
AC_CHECK_FUNCS(socket strerror forkpty getrlimit)
|
|
|
|
AC_CONFIG_HEADER(config.h)
|
|
AC_OUTPUT(Makefile)
|