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.
This commit is contained in:
Sebastian Dröge 2008-03-21 13:27:47 +00:00
parent e7ffb0f9ba
commit 97782d1744
3 changed files with 10 additions and 1 deletions

View file

@ -1,3 +1,9 @@
2008-03-21 Sebastian Dröge <slomo@circular-chaos.org>
* 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 <jan.schmidt@sun.com>
* configure.ac:

2
common

@ -1 +1 @@
Subproject commit 170f8e91adc7157f6e708ffa58ca22d10e4e45da
Subproject commit 9a358e5cc3977fd6121f12dd25a358081fd77041

View file

@ -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