Small thinko in testing for clock_gettime

This is merely a historical archive of years 2008-2021, before the migration to mailman3.

A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/osmocom-sdr@lists.osmocom.org/.

Dimitri Stolnikov horiz0n at gmx.net
Wed Nov 7 19:24:11 UTC 2012


Hi Pete,

thanks for bringing this up, it's fixed now.

Best regards,

Dimitri

On Tue, 06 Nov 2012 06:44:08 +0100, Pete Zaitcev  
<zaitcev at kotori.zaitcev.us> wrote:

> This appears to be not tested with autoconf (cmake works). The assignment
> to $LIBS changes nothing, which cannot possibly be the intent.
>
> ---
>
> cc-ing to original patch author and sign-off
>
> diff --git a/configure.ac b/configure.ac
> index 1b94701..c760787 100644
> --- a/configure.ac
> +++ b/configure.ac
> @@ -40,7 +40,7 @@ dnl libmath (for rtl_fm)
>  AC_CHECK_LIB(m, atan2, [LIBS="$LIBS -lm"])
> 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
>  saved_CFLAGS="$CFLAGS"




More information about the osmocom-sdr mailing list