summaryrefslogtreecommitdiff
path: root/configure.in
diff options
context:
space:
mode:
authorMichael Biebl <mbiebl@gmail.com>2010-01-23 14:58:03 -0500
committerJoe Marcus Clarke <marcus@FreeBSD.org>2010-01-23 14:58:03 -0500
commitc083adf8e79036a2e9a7218ea556f73671c08ff1 (patch)
tree2a978110780f652d7cdcdd5f3a82f712cd6e9be9 /configure.in
parent6dccf8e3ad181e8f56b1d2a994ec50a1953a1c2d (diff)
Link against -lrt for clock_gettime
Link against -lrt as we need that for clock_gettime on kfreebsd. AC_SEARCH_LIBS should handle the case nicely that on freebsd this function is already part of libc.
Diffstat (limited to 'configure.in')
-rw-r--r--configure.in1
1 files changed, 1 insertions, 0 deletions
diff --git a/configure.in b/configure.in
index 83635950..2c74863f 100644
--- a/configure.in
+++ b/configure.in
@@ -507,6 +507,7 @@ AM_CONDITIONAL(HALD_COMPILE_FREEBSD, [test x$HALD_BACKEND = xfreebsd], [Compilin
AM_CONDITIONAL(HALD_COMPILE_SOLARIS, [test x$HALD_BACKEND = xsolaris], [Compiling for Solaris])
AC_SUBST(HALD_BACKEND)
if test "x$HALD_BACKEND" = "xfreebsd"; then
+ AC_SEARCH_LIBS([clock_gettime], [rt])
USE_BSDLIBUSB20=no
USE_BSDLIBUSB=no
LIBUSB20_LIBS=""