1 dnl Process this file with autoconf to produce a configure script.
5 dnl Check for Digital Unix; it has a different way of building for pthreads,
6 dnl and we can't build pthreads programs with gcc dut to header problems.
10 test -z "$CC" && CC=cc
15 dnl Checks for programs.
17 test "$GCC" = yes && CFLAGS="$CFLAGS -Wall"
19 dnl Checks for libraries.
20 if test "$LIBS" != -pthread; then
21 AC_CHECK_LIB(pthread, pthread_create)
22 AC_CHECK_LIB(pthreads, pthread_create)
25 dnl Checks for header files.
27 dnl AC_HEADER_SYS_WAIT
28 dnl AC_CHECK_HEADERS(fcntl.h limits.h sys/time.h unistd.h)
30 dnl Checks for typedefs, structures, and compiler characteristics.
36 dnl Checks for library functions.
39 dnl AC_CHECK_FUNCS(strerror)
40 AC_REPLACE_FUNCS(snprintf)