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