From 97782d17444a9ffcaffa4a25585d2ee32582c2f2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebastian=20Dr=C3=B6ge?= Date: Fri, 21 Mar 2008 13:27:47 +0000 Subject: [PATCH] configure.ac: Fix lrint/lrintf checks to actually work. These functions are in libm on Linux at least so try to link ... Original commit message from CVS: * configure.ac: Fix lrint/lrintf checks to actually work. These functions are in libm on Linux at least so try to link to it. --- ChangeLog | 6 ++++++ common | 2 +- configure.ac | 3 +++ 3 files changed, 10 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 20b52b8fd5..5193230a51 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2008-03-21 Sebastian Dröge + + * configure.ac: + Fix lrint/lrintf checks to actually work. These functions are + in libm on Linux at least so try to link to it. + 2008-03-21 Jan Schmidt * configure.ac: diff --git a/common b/common index 170f8e91ad..9a358e5cc3 160000 --- a/common +++ b/common @@ -1 +1 @@ -Subproject commit 170f8e91adc7157f6e708ffa58ca22d10e4e45da +Subproject commit 9a358e5cc3977fd6121f12dd25a358081fd77041 diff --git a/configure.ac b/configure.ac index 983b052754..17364d74ed 100644 --- a/configure.ac +++ b/configure.ac @@ -230,8 +230,11 @@ AC_FUNC_FSEEKO dnl Check for fast float to int casting as defined in C99 dnl used in gst-libs/gst/floatcast/floatcast.h +save_libs=$LIBS +LIBS="$LIBS $LIBM" AC_C99_FUNC_LRINT AC_C99_FUNC_LRINTF +LIBS=$save_libs dnl Check for a way to display the function name in debug output AG_GST_CHECK_FUNCTION