configure.ac: fix librt check

Thanks to Pete Zaitcev <zaitcev@kotori.zaitcev.us>
This commit is contained in:
Dimitri Stolnikov 2012-11-07 20:21:58 +01:00
parent 43c0145200
commit 58a53039db

View File

@ -40,7 +40,7 @@ dnl libmath (for rtl_fm)
AC_CHECK_LIB(m, atan2, [LIBS="$LIBS -lm"]) AC_CHECK_LIB(m, atan2, [LIBS="$LIBS -lm"])
dnl librealtime (for rtl_test) dnl librealtime (for rtl_test)
AC_CHECK_LIB(rt, clock_gettime, [LIBS="$LIBS"]) AC_CHECK_LIB(rt, clock_gettime, [LIBS="$LIBS -lrt"])
# The following test is taken from WebKit's webkit.m4 # The following test is taken from WebKit's webkit.m4
saved_CFLAGS="$CFLAGS" saved_CFLAGS="$CFLAGS"