aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNicholas Marriott <nicholas.marriott@gmail.com>2011-07-19 01:35:33 +0000
committerNicholas Marriott <nicholas.marriott@gmail.com>2011-07-19 01:35:33 +0000
commit25eb48aea35d5b3daf111841efbe74ae3e0d69f5 (patch)
treed2b6b949ca3c2c703d8a374a69479f50fc055cfe
parente5cee897271c2b7a90c355d50d74ca8475e02f62 (diff)
downloadrtmux-25eb48aea35d5b3daf111841efbe74ae3e0d69f5.tar.gz
rtmux-25eb48aea35d5b3daf111841efbe74ae3e0d69f5.tar.bz2
rtmux-25eb48aea35d5b3daf111841efbe74ae3e0d69f5.zip
Only get -lrt when needed, from Pietro Cerutti.
-rw-r--r--configure.ac2
1 files changed, 1 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac
index b9ad0af5..ba00a790 100644
--- a/configure.ac
+++ b/configure.ac
@@ -102,7 +102,7 @@ AM_CONDITIONAL(IS_GLIBC, test "x$found_glibc" = xyes)
AC_MSG_RESULT($found_glibc)
# Look for clock_gettime. Must come before event_init.
-AC_CHECK_LIB(rt, clock_gettime)
+AC_SEARCH_LIBS(clock_gettime, rt)
# Look for libevent.
AC_SEARCH_LIBS(event_init, [event event-1.4 event2], found_libevent=yes, found_libevent=no)