aboutsummaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorYang Tse <yangsita@gmail.com>2008-05-10 15:46:08 +0000
committerYang Tse <yangsita@gmail.com>2008-05-10 15:46:08 +0000
commitb380dd030f5d0974250f1ea9b871aee02733c2c8 (patch)
treeaaca006393a63907fa7586a8b36dbe403508892e /configure.ac
parent19479ea0217c93fd2973168084d1bb724eb8a34f (diff)
Add library checking for clock_gettime() support
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac6
1 files changed, 5 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac
index 8a5988959..0ef6a3942 100644
--- a/configure.ac
+++ b/configure.ac
@@ -568,6 +568,11 @@ 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
dnl libraries at this point for use while linking those test servers.
@@ -1976,7 +1981,6 @@ AC_CHECK_FUNCS( strtoll \
strcmpi \
gethostbyaddr \
gettimeofday \
- clock_gettime \
inet_addr \
inet_ntoa \
inet_pton \