summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: d5951ea)
raw | patch | inline | side by side (parent: d5951ea)
author | Wim Taymans <wim.taymans@gmail.com> | |
Sat, 9 Jun 2001 00:14:28 +0000 (00:14 +0000) | ||
committer | Wim Taymans <wim.taymans@gmail.com> | |
Sat, 9 Jun 2001 00:14:28 +0000 (00:14 +0000) |
Original commit message from CVS:
Added a check for avifile.
Added a check for avifile.
REQUIREMENTS | patch | blob | history | |
configure.base | patch | blob | history |
diff --git a/REQUIREMENTS b/REQUIREMENTS
index 1b8d55b8b15f6311d4e5cebdf11dbf06a4a317c4..983087fa90639514e1e19602fddd76f5756de381 100644 (file)
--- a/REQUIREMENTS
+++ b/REQUIREMENTS
mpeg2dec/ac3dec (for mpeg2 related plugins and dvd playback)
http://linuxvideo.org/mpeg2dec/
and http://linuxvideo.org/ac3dec/
-
-for AVI playback you might want to get the windows libraries from
-http://divx.euro.ru/ and put the .dll files in /usr/lib/win32/
+avifile (for the avi windows decoder plugins
+ you might want to get the windows libraries
+ from http://divx.euro.ru/ and put the .dll files
+ in /usr/lib/win32/)
An extra set of tools is required if you wish to build GStreamer out of
CVS (using autogen.sh):
diff --git a/configure.base b/configure.base
index 7476bb07cf4fef93f8f1e1d890d1fedbe2a61448..7c51b8ee063bc08a493923cb9ef968e4ca06cfd9 100644 (file)
--- a/configure.base
+++ b/configure.base
AC_SUBST(VFS_LIBS)
AC_SUBST(VFS_CFLAGS)
+dnl Check for Avifile
+HAVE_AVIFILE="no"
+AC_MSG_CHECKING(for Avifile)
+if avifile-config --libs > /dev/null 2>&1; then
+ HAVE_AVIFILE="yes"
+ AC_MSG_RESULT(found)
+else
+ AC_MSG_WARN(Did not find Avifile installed)
+fi
+
+AVIFILE_LIBS="`avifile-config --libs`"
+AVIFILE_CFLAGS="`avifile-config --cflags`"
+
+AC_SUBST(AVIFILE_LIBS)
+AC_SUBST(AVIFILE_CFLAGS)
+
dnl Check for atomic.h
dnl Note: use AC_CHECK_HEADER not AC_CHECK_HEADERS, because the latter
dnl defines the wrong default symbol as well (HAVE_ASM_ATOMIC_H)
AM_CONDITIONAL(HAVE_LIBDV, test "x$HAVE_LIBDV" = "xyes")
AM_CONDITIONAL(HAVE_LIBAA, test "x$HAVE_LIBAA" = "xyes")
AM_CONDITIONAL(HAVE_GNOME_VFS, test "x$HAVE_GNOME_VFS" = "xyes")
+AM_CONDITIONAL(HAVE_AVIFILE, test "x$HAVE_AVIFILE" = "xyes")
AM_CONDITIONAL(HAVE_LIBOPENQUICKTIME, test "x$HAVE_LIBOPENQUICKTIME" = "xyes")
AM_CONDITIONAL(HAVE_LIBGSM, test "x$HAVE_LIBGSM" = "xyes")
AM_CONDITIONAL(PLUGINS_USE_SRCDIR, test "x$PLUGINS_USE_SRCDIR" = "xyes")