dnl Process this file with autoconf to produce a configure script.
AC_INIT(gsftopk.c)

AC_CONFIG_HEADER(c-auto.h:c-auto.in)

AC_PROG_CC
AC_PROG_INSTALL
AC_PROG_MAKE_SET
AC_PROG_LN_S

sinclude(../kpathsea/withenable.ac)

dnl Checks for header files.
AC_HEADER_SYS_WAIT
AC_HEADER_TIME
AC_CHECK_HEADERS(poll.h sys/time.h)

dnl Checks for library functions.
AC_FUNC_VFORK
AC_TYPE_SIGNAL
AC_CHECK_FUNCS(poll sigaction)

if test "$ac_cv_header_poll_h" = no || test "$ac_cv_func_poll" = no; then
  AC_CHECK_HEADERS(sys/select.h select.h)
fi

AC_OUTPUT(Makefile)
date >stamp-auto
