summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorNathan Hjelm <hjelmn@mac.com>2009-02-16 21:13:52 -0300
committerDaniel Drake <dsd@gentoo.org>2009-02-16 21:19:56 -0300
commitccf6d3d2f6acf9b9a1cb5e1f1b03f382ae509b17 (patch)
treeeb34a0556332df99d4da4a287dd9c6b6c1ace6a8 /configure.ac
parent894539931e4b4bd85708fe98b956049243cd6fb0 (diff)
downloadlibusb-ccf6d3d2f6acf9b9a1cb5e1f1b03f382ae509b17.tar.gz
Only link with librt on Linux
[dsd: tweak configure.ac change]
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac1
1 files changed, 1 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index e26ebe5..2e344f7 100644
--- a/configure.ac
+++ b/configure.ac
@@ -17,6 +17,7 @@ case $host in
AC_SUBST(OS_LINUX)
AC_MSG_RESULT([Linux])
backend="linux"
+ AC_CHECK_LIB(rt, clock_gettime)
;;
*)
AC_MSG_ERROR([unsupported operating system])