configure.ac: Sync liboil check with plugins-base. Add libm check.

Original commit message from CVS:
* configure.ac:
Sync liboil check with plugins-base. Add libm check.
* gst/synaesthesia/Makefile.am:
Link against libm. We're using sqrt here.
This commit is contained in:
Stefan Kost 2007-07-23 09:07:19 +00:00
parent 1c87647aa0
commit 9a0f69623b
3 changed files with 17 additions and 3 deletions

View file

@ -1,3 +1,11 @@
2007-07-23 Stefan Kost <ensonic@users.sf.net>
* configure.ac:
Sync liboil check with plugins-base. Add libm check.
* gst/synaesthesia/Makefile.am:
Link against libm. We're using sqrt here.
2007-07-20 Stefan Kost <ensonic@users.sf.net>
* gst/asfdemux/gstasfdemux.c:

View file

@ -8,6 +8,7 @@ dnl use a three digit version number for releases, and four for cvs/prerelease
AC_INIT(GStreamer Ugly Plug-ins, 0.10.6.1,
http://bugzilla.gnome.org/enter_bug.cgi?product=GStreamer,
gst-plugins-ugly)
AG_GST_INIT
dnl initialize automake
@ -156,9 +157,14 @@ AM_CONDITIONAL(HAVE_VALGRIND, test ! "x$VALGRIND_PATH" = "xno")
dnl check for documentation tools
GTK_DOC_CHECK([1.3])
AS_PATH_PYTHON([2.1])
AG_GST_PLUGIN_DOCS([1.3],[2.1])
dnl *** checks for libraries ***
dnl check for libm, for sin()
AC_CHECK_LIBM
AC_SUBST(LIBM)
dnl *** checks for header files ***
dnl used by ext/a52dec
@ -184,10 +190,10 @@ dnl GLib is required
AG_GST_GLIB_CHECK([2.6])
dnl liboil is required
PKG_CHECK_MODULES(LIBOIL, liboil-0.3 >= 0.3.6, HAVE_LIBOIL=yes, HAVE_LIBOIL=no)
PKG_CHECK_MODULES(LIBOIL, liboil-0.3 >= 0.3.8, HAVE_LIBOIL=yes, HAVE_LIBOIL=no)
if test "x$HAVE_LIBOIL" != "xyes"
then
AC_ERROR([liboil-0.3.6 or later is required])
AC_ERROR([liboil-0.3.8 or later is required])
fi
dnl checks for gstreamer

View file

@ -5,7 +5,7 @@ libgstsynaesthesia_la_SOURCES = gstsynaesthesia.c synaescope.c
noinst_HEADERS = synaescope.h gstsynaesthesia.h
libgstsynaesthesia_la_CFLAGS = $(GST_PLUGINS_BASE_CFLAGS) $(GST_BASE_CFLAGS) $(GST_CFLAGS)
libgstsynaesthesia_la_LIBADD = $(GST_BASE_LIBS) $(GST_LIBS)
libgstsynaesthesia_la_LIBADD = $(GST_BASE_LIBS) $(GST_LIBS) $(LIBM)
libgstsynaesthesia_la_LDFLAGS = $(GST_PLUGIN_LDFLAGS)
EXTRA_DIST = README