Add library checking for clock_gettime() support

This commit is contained in:
Yang Tse
2008-05-10 15:46:08 +00:00
parent 19479ea021
commit b380dd030f
4 changed files with 161 additions and 2 deletions

View File

@@ -567,6 +567,11 @@ fi
dnl socket lib?
AC_CHECK_FUNC(connect, , [ AC_CHECK_LIB(socket, connect) ])
dnl **********************************************************************
dnl Check for libraries needed for function clock_gettime
dnl **********************************************************************
CURL_CHECK_LIBS_CLOCK_GETTIME
dnl **********************************************************************
dnl The preceding library checks are all potentially useful for test
dnl servers (for providing networking support). Save the list of required
@@ -1976,7 +1981,6 @@ AC_CHECK_FUNCS( strtoll \
strcmpi \
gethostbyaddr \
gettimeofday \
clock_gettime \
inet_addr \
inet_ntoa \
inet_pton \