From 12c5f1956b5ca7fa272022545d1fa7fec75e5ae2 Mon Sep 17 00:00:00 2001 From: Marcel Holtmann Date: Mon, 2 Sep 2013 11:25:54 -0700 Subject: [PATCH] build: Check for clock_gettime and pthread_create --- configure.ac | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/configure.ac b/configure.ac index a6a214bfe..050d30d65 100644 --- a/configure.ac +++ b/configure.ac @@ -40,6 +40,12 @@ AC_ARG_ENABLE(threads, AC_HELP_STRING([--enable-threads], AC_CHECK_FUNC(signalfd, dummy=yes, AC_MSG_ERROR(signalfd support is required)) +AC_CHECK_FUNC(clock_gettime, dummy=yes, + AC_MSG_ERROR(realtime clock support is required)) + +AC_CHECK_LIB(pthread, pthread_create, dummy=yes, + AC_MSG_ERROR(posix thread support is required)) + AC_CHECK_LIB(dl, dlopen, dummy=yes, AC_MSG_ERROR(dynamic linking loader is required)) -- 2.11.0