Added a check for avifile.

Original commit message from CVS:
Added a check for avifile.
This commit is contained in:
Wim Taymans 2001-06-09 00:14:28 +00:00
parent d5951eacad
commit 7c6c3ed06b
2 changed files with 21 additions and 3 deletions

View file

@ -67,9 +67,10 @@ xmms (for the xmms plugins wrapper)
mpeg2dec/ac3dec (for mpeg2 related plugins and dvd playback) mpeg2dec/ac3dec (for mpeg2 related plugins and dvd playback)
http://linuxvideo.org/mpeg2dec/ http://linuxvideo.org/mpeg2dec/
and http://linuxvideo.org/ac3dec/ and http://linuxvideo.org/ac3dec/
avifile (for the avi windows decoder plugins
for AVI playback you might want to get the windows libraries from you might want to get the windows libraries
http://divx.euro.ru/ and put the .dll files in /usr/lib/win32/ 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 An extra set of tools is required if you wish to build GStreamer out of
CVS (using autogen.sh): CVS (using autogen.sh):

View file

@ -426,6 +426,22 @@ VFS_CFLAGS="`gnome-config --cflags vfs`"
AC_SUBST(VFS_LIBS) AC_SUBST(VFS_LIBS)
AC_SUBST(VFS_CFLAGS) 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 Check for atomic.h
dnl Note: use AC_CHECK_HEADER not AC_CHECK_HEADERS, because the latter 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) dnl defines the wrong default symbol as well (HAVE_ASM_ATOMIC_H)
@ -982,6 +998,7 @@ AM_CONDITIONAL(HAVE_RAW1394, test "x$HAVE_RAW1394" = "xyes")
AM_CONDITIONAL(HAVE_LIBDV, test "x$HAVE_LIBDV" = "xyes") AM_CONDITIONAL(HAVE_LIBDV, test "x$HAVE_LIBDV" = "xyes")
AM_CONDITIONAL(HAVE_LIBAA, test "x$HAVE_LIBAA" = "xyes") AM_CONDITIONAL(HAVE_LIBAA, test "x$HAVE_LIBAA" = "xyes")
AM_CONDITIONAL(HAVE_GNOME_VFS, test "x$HAVE_GNOME_VFS" = "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_LIBOPENQUICKTIME, test "x$HAVE_LIBOPENQUICKTIME" = "xyes")
AM_CONDITIONAL(HAVE_LIBGSM, test "x$HAVE_LIBGSM" = "xyes") AM_CONDITIONAL(HAVE_LIBGSM, test "x$HAVE_LIBGSM" = "xyes")
AM_CONDITIONAL(PLUGINS_USE_SRCDIR, test "x$PLUGINS_USE_SRCDIR" = "xyes") AM_CONDITIONAL(PLUGINS_USE_SRCDIR, test "x$PLUGINS_USE_SRCDIR" = "xyes")