dnl autoconf configuration file for plugins
AC_INIT
-AC_CONFIG_SRCDIR([configure.ac])
+AC_CONFIG_SRCDIR([COPYING])
AC_CANONICAL_TARGET([])
GST_VERSION=$GST_VERSION_MAJOR.$GST_VERSION_MINOR.$GST_VERSION_MICRO
-PACKAGE=gstreamer-plugins
+PACKAGE=gst-plugins
VERSION=$GST_VERSION
AC_DEFINE_UNQUOTED(PACKAGE, "$PACKAGE")
GST_AGE=0
GST_LIBVERSION=$GST_CURRENT:$GST_REVISION:$GST_AGE
+dnl check for gstreamer
+PKG_CHECK_MODULES(GST, gstreamer >= 0.3.0)
+
AM_INIT_AUTOMAKE($PACKAGE, $VERSION)
dnl Add parameters for aclocal
dnl (This must come after AM_INIT_AUTOMAKE, since it modifies ACLOCAL)
dnl ========================= End macro definitions ==========================
dnl ==========================================================================
+dnl ==========================================================================
+dnl ============================= sys plugins ================================
+dnl ==========================================================================
+
+
+dnl *** OSS audio ***
+translit(dnm, m, l) AM_CONDITIONAL(USE_OSS, true)
+GST_CHECK_FEATURE(OSS, [OSS audio], osssrc osssink, [
+ AC_CHECK_HEADER(sys/soundcard.h, HAVE_OSS="yes", HAVE_OSS="no")
+])
+
+dnl *** VGA ***
+translit(dnm, m, l) AM_CONDITIONAL(USE_VGASINK, true)
+GST_CHECK_FEATURE(VGA, [VGA sink], vgavideosink, [
+ AC_CHECK_HEADER(asm/vga.h, HAVE_VGASINK="yes", HAVE_VGASINK="no")
+])
+
+
dnl Next, check for the optional libraries:
dnl These are all libraries used in building plugins
GST_CHECK_LIBHEADER(MPEG2DEC, mpeg2, mpeg2_init,, mpeg2dec/mpeg2.h, MPEG2DEC_LIBS="-lmpeg2")
])
-dnl *** OSS audio ***
-translit(dnm, m, l) AM_CONDITIONAL(USE_OSS, true)
-GST_CHECK_FEATURE(OSS, [OSS audio], osssrc osssink, [
- AC_CHECK_HEADER(sys/soundcard.h, HAVE_OSS="yes", HAVE_OSS="no")
-])
-
dnl *** quicktime ***
dnl FIXME: make this be called openquicktime
translit(dnm, m, l) AM_CONDITIONAL(USE_QUICKTIME, true)
AC_DEFINE(HAVE_LIBXV)
fi
-if test "x$HAVE_OSS" = xyes; then
- AC_DEFINE(HAVE_OSS)
-fi
-
-if test "x$HAVE_XAUDIO" = xyes; then
- AC_DEFINE(HAVE_XAUDIO)
-fi
-
if test "x$HAVE_LIBMAD" = xyes; then
AC_DEFINE(HAVE_LIBMAD)
fi
dnl someone should fix this test/misc/Makefile
dnl wtay fix this: testsuite/threads/Makefile
dnl testsuite/refcounting/Makefile
+dnl libs/Makefile
+dnl libs/riff/Makefile
+dnl libs/getbits/Makefile
+dnl libs/putbits/Makefile
+dnl libs/idct/Makefile
+dnl libs/audio/Makefile
+dnl libs/bytestream/Makefile
+dnl libs/control/Makefile
+dnl libs/resample/Makefile
+dnl stamp.h
+dnl echo "$infomessages", infomessages="$infomessages"
AC_OUTPUT(
Makefile
-sys/vgasink/Makefile
+sys/Makefile
+sys/oss/Makefile
+sys/qcam/Makefile
+sys/v4l/Makefile
sys/vcdsrc/Makefile
+sys/vgasink/Makefile
sys/xvideosink/Makefile
-sys/v4l/Makefile
-sys/qcam/Makefile
-sys/Makefile
-libs/Makefile
-libs/riff/Makefile
-libs/getbits/Makefile
-libs/putbits/Makefile
-libs/idct/Makefile
-libs/audio/Makefile
-libs/bytestream/Makefile
-libs/control/Makefile
-libs/resample/Makefile
-stamp.h
-echo "$infomessages", infomessages="$infomessages"
)
echo -e "configure: *** Plugins that will be built : $GST_PLUGINS_YES"