Add libm check as we use in for plugins.

Original commit message from CVS:
* configure.ac:
* libs/gst/check/Makefile.am:
Add libm check as we use in for plugins.
This commit is contained in:
Stefan Kost 2007-07-20 07:09:11 +00:00
parent 6c0e00bba0
commit e99d464ea9
3 changed files with 11 additions and 1 deletions

View file

@ -1,3 +1,9 @@
2007-07-20 Stefan Kost <ensonic@users.sf.net>
* configure.ac:
* libs/gst/check/Makefile.am:
Add libm check as we use in for plugins.
2007-07-18 Jan Schmidt <thaytan@noraisin.net>
* gst/gstbin.c: (gst_bin_continue_func):

View file

@ -280,6 +280,10 @@ dnl For interactive UNIX (a Sun thing)
dnl FIXME: this adds -lcposix to LIBS, but I doubt we use LIBS
AC_ISC_POSIX
dnl check for libm, for sin()
AC_CHECK_LIBM
AC_SUBST(LIBM)
dnl *** checks for header files ***
dnl check if we have ANSI C header files

View file

@ -8,7 +8,7 @@ libgstcheck_@GST_MAJORMINOR@_la_SOURCES = \
libgstcheck_@GST_MAJORMINOR@_la_CFLAGS = $(GST_OBJ_CFLAGS) $(CHECK_CFLAGS)
libgstcheck_@GST_MAJORMINOR@_la_LIBADD = $(GST_OBJ_LIBS) $(CHECK_LIBS) \
$(top_builddir)/gst/libgstreamer-@GST_MAJORMINOR@.la -lm
$(top_builddir)/gst/libgstreamer-@GST_MAJORMINOR@.la $(LIBM)
libgstcheck_@GST_MAJORMINOR@_la_LDFLAGS = -Wl,--export-dynamic \
libgstbase_@GST_MAJORMINOR@_la_LDFLAGS = $(GST_LIB_LDFLAGS) $(GST_ALL_LDFLAGS) $(GST_LT_LDFLAGS)