Remove checks of unused things from configure.ac

This commit is contained in:
Jindrich Novy 2011-03-23 13:37:44 +01:00
parent b03685d320
commit b159519d9d
1 changed files with 1 additions and 12 deletions

View File

@ -205,8 +205,6 @@ AC_CHECK_FUNC(gethostname, [], [
AC_CHECK_LIB(nsl, gethostname) AC_CHECK_LIB(nsl, gethostname)
]) ])
AC_CHECK_HEADERS(poll.h)
AC_CHECK_HEADERS(pthread.h) AC_CHECK_HEADERS(pthread.h)
AC_CHECK_LIB(pthread, pthread_mutex_trylock, [], [ AC_CHECK_LIB(pthread, pthread_mutex_trylock, [], [
@ -216,16 +214,8 @@ AC_CHECK_LIB(pthread, pthread_mutex_trylock, [], [
]) ])
]) ])
AC_SEARCH_LIBS(aio_read, [c rt aio posix4])
AC_SEARCH_LIBS(dlopen, [dl]) AC_SEARCH_LIBS(dlopen, [dl])
dnl Temporary hack for MiNT. Some functions (writev, snprintf) are
dnl not in the libc but in libport (for political reasons). This check
dnl can hopefully be removed soon. Please use the default action
dnl for this macro (not LIBS=...), otherwise the check for dbopen
dnl will fail.
AC_CHECK_LIB(port, writev)
#================= #=================
# Check for libelf library. Prefer external, otherwise none. # Check for libelf library. Prefer external, otherwise none.
WITH_LIBELF_LIB= WITH_LIBELF_LIB=
@ -347,9 +337,8 @@ AC_HEADER_MAJOR
AC_HEADER_DIRENT AC_HEADER_DIRENT
AC_CHECK_HEADERS(limits.h) AC_CHECK_HEADERS(limits.h)
AC_CHECK_HEADERS(fcntl.h getopt.h memory.h) AC_CHECK_HEADERS(fcntl.h getopt.h)
AC_CHECK_HEADERS(sys/ipc.h)
AC_CHECK_HEADERS(sys/utsname.h) AC_CHECK_HEADERS(sys/utsname.h)
AC_CHECK_HEADERS(sys/systemcfg.h) AC_CHECK_HEADERS(sys/systemcfg.h)