summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThomas Vander Stichele <thomas@apestaart.org>2005-10-12 03:07:26 +0000
committerThomas Vander Stichele <thomas@apestaart.org>2005-10-12 03:07:26 +0000
commit722ec5e4ab7e1f3ea020f0ad90cd17347fabe5dc (patch)
treee22d84fb96c5fc75c86dfadd3a248ee2e75a5958
parentdd8b6e69629ddc308957e103adea1c0e27f8ec89 (diff)
don't build checks if we don't have check
Original commit message from CVS: don't build checks if we don't have check
-rw-r--r--configure.ac17
1 files changed, 17 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index 7bf8b675..3bdcb401 100644
--- a/configure.ac
+++ b/configure.ac
@@ -343,6 +343,18 @@ GST_CHECK_FEATURE(AALIB, [aasink plug-in], aasink, [
AS_SCRUB_INCLUDE(AALIB_CFLAGS)
])
+dnl *** cairo ***
+translit(dnm, m, l) AM_CONDITIONAL(USE_CAIRO, true)
+GST_CHECK_FEATURE(CAIRO, [cairo plug-in], cairo, [
+ PKG_CHECK_MODULES(CAIRO, cairo >= 1.0.0, [
+ HAVE_CAIRO=yes
+ AC_SUBST(CAIRO_CFLAGS)
+ AC_SUBST(CAIRO_LIBS)
+ ], [
+ HAVE_CAIRO=no
+ ])
+])
+
dnl **** ESound ****
translit(dnm, m, l) AM_CONDITIONAL(USE_ESD, true)
GST_CHECK_FEATURE(ESD, [esound plug-ins], esdsink, [
@@ -512,6 +524,10 @@ GST_CFLAGS="-I\$(top_srcdir)/gst-libs -I\$(top_builddir)/gst-libs $GST_CFLAGS $G
AC_SUBST(GST_LIBS)
AC_SUBST(GST_CFLAGS)
+dnl check for "check", unit testing library/header
+AM_PATH_CHECK(0.9.2, HAVE_CHECK=yes, HAVE_CHECK=no)
+AM_CONDITIONAL(HAVE_CHECK, test "x$HAVE_CHECK" = "xyes")
+
dnl ######################
dnl # Checks for gtk-doc #
dnl ######################
@@ -588,6 +604,7 @@ gst/wavparse/Makefile
ext/jpeg/Makefile
ext/Makefile
ext/aalib/Makefile
+ext/cairo/Makefile
ext/dv/Makefile
ext/esd/Makefile
ext/flac/Makefile