mirror of https://github.com/BOINC/boinc.git
35 lines
905 B
Plaintext
35 lines
905 B
Plaintext
dnl Process this file with autoconf to produce a configure script.
|
|
AC_INIT(error_numbers.h)
|
|
|
|
dnl Checks for programs.
|
|
AC_PROG_CC
|
|
|
|
dnl Checks for libraries.
|
|
dnl Replace `main' with a function in -lgen:
|
|
AC_CHECK_LIB(gen, main)
|
|
dnl Replace `main' with a function in -lm:
|
|
AC_CHECK_LIB(m, main)
|
|
dnl Replace `main' with a function in -lnsl:
|
|
AC_CHECK_LIB(nsl, main)
|
|
dnl Replace `main' with a function in -lsocket:
|
|
AC_CHECK_LIB(socket, main)
|
|
dnl Replace `main' with a function in -lstdc:
|
|
AC_CHECK_LIB(stdc, main)
|
|
|
|
dnl Checks for header files.
|
|
AC_HEADER_DIRENT
|
|
AC_HEADER_STDC
|
|
AC_HEADER_SYS_WAIT
|
|
AC_CHECK_HEADERS(fcntl.h sys/time.h unistd.h)
|
|
|
|
dnl Checks for typedefs, structures, and compiler characteristics.
|
|
AC_TYPE_SIZE_T
|
|
AC_HEADER_TIME
|
|
|
|
dnl Checks for library functions.
|
|
AC_PROG_GCC_TRADITIONAL
|
|
AC_FUNC_WAIT3
|
|
AC_CHECK_FUNCS(gethostname gettimeofday mkdir select socket strdup strstr uname)
|
|
|
|
AC_OUTPUT(Makefile)
|