summaryrefslogtreecommitdiff
path: root/Build/source/texk/gsftopk/configure.in
blob: e81367859fabd27d3eb25fcece2aabf3e141abda (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
dnl Process this file with autoconf to produce a configure script.
AC_INIT(gsftopk.c)

AC_CONFIG_HEADERS([c-auto.h:c-auto.in], [date >stamp-auto])

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

KPSE_CONFIG_FILES([Makefile])
AC_OUTPUT