Displaying 8 results from an estimated 8 matches for "enable_ffmpeg".
2007 Oct 25
1
[PATCH] Fix logic in ffmpeg detection
...t a/configure.ac b/configure.ac
index 97d474b..918de8f 100644
--- a/configure.ac
+++ b/configure.ac
@@ -212,20 +212,20 @@ dnl Or you submit a patch that detects ffmpeg reliably on the distros.
AC_ARG_ENABLE(ffmpeg,
AS_HELP_STRING([--enable-ffmpeg],
[enable ffmpeg support (default=yes)])],
- enable_ffmpeg=$enableval,
- enable_ffmpeg="yes")
+ enable_ffmpeg=$enableval)
-if test "$enable_ffmpeg" = "yes"; then
+if test "$enable_ffmpeg" != "no"; then
PKG_CHECK_MODULES(FFMPEG, libavcodec libswscale, HAVE_FFMPEG=yes, HAVE_FFMPEG=no)
AC_SUBST(FFMPEG_CF...
2007 Mar 19
0
2 commits - configure.ac
...dec, HAVE_FFMPEG=yes, HAVE_FFMPEG=no)
-AC_SUBST(FFMPEG_CFLAGS)
-AC_SUBST(FFMPEG_LIBS)
-if test "x$HAVE_FFMPEG" = xyes; then
- AC_DEFINE(HAVE_FFMPEG, 1, [Define if ffmpeg is enabled])
+AC_ARG_ENABLE(ffmpeg,
+ AS_HELP_STRING([--enable-ffmpeg],
+ [enable ffmpeg support (default=yes)])],
+ enable_ffmpeg=$enableval,
+ enable_ffmpeg="yes")
+
+if test "$enable_ffmpeg" = "yes"; then
+ PKG_CHECK_MODULES(FFMPEG, libavcodec, HAVE_FFMPEG=yes, HAVE_FFMPEG=no)
+ AC_SUBST(FFMPEG_CFLAGS)
+ AC_SUBST(FFMPEG_LIBS)
+ if test "x$HAVE_FFMPEG" = xyes; then
+ AC_DEFINE(HAVE_F...
2007 Oct 28
0
9 commits - configure.ac libswfdec/swfdec_as_context.c libswfdec/swfdec_audio_internal.h libswfdec/swfdec_codec_audio.c libswfdec/swfdec_codec_gst.c libswfdec/swfdec_sound.c
...dnl So you'll have to update your ffmpeg checkout if compilation fails.
dnl Or you submit a patch that detects ffmpeg reliably on the distros.
AC_ARG_ENABLE(ffmpeg,
AS_HELP_STRING([--enable-ffmpeg],
- [enable ffmpeg support (default=yes)])],
+ [enable ffmpeg support (default=no)])],
enable_ffmpeg=$enableval,
- enable_ffmpeg="yes")
+ enable_ffmpeg="no")
if test "$enable_ffmpeg" = "yes"; then
PKG_CHECK_MODULES(FFMPEG, libavcodec libswscale, HAVE_FFMPEG=yes, HAVE_FFMPEG=no)
commit 2aa0918b46d71707d1ca6f1ec22fd47de09bf23b
Author: Benjamin Otte <ot...
2007 Jun 26
1
Branch 'as' - configure.ac
configure.ac | 1 +
1 files changed, 1 insertion(+)
New commits:
diff-tree fad705a672d2685cd5572f1bbe4fa9e17776441f (from 0e96b023aba5b5548d22679a5fdffcc0ebce13e5)
Author: Benjamin Otte <otte at gnome.org>
Date: Tue Jun 26 11:31:50 2007 +0200
automake claims we need this
diff --git a/configure.ac b/configure.ac
index aac8129..e76bce0 100644
--- a/configure.ac
+++ b/configure.ac
2007 Mar 20
3
configure.ac
...C_DEFINE(HAVE_MAD, 1, [Define if mad is enabled])
else
- AC_MSG_ERROR([Couldn't find mad.])
+ AC_MSG_ERROR([Couldn't find mad. You might need to install the libmad0-dev package.])
fi
else
AC_MSG_WARN([*** mad audio support was not enabled. ***])
@@ -175,7 +175,7 @@ if test "$enable_ffmpeg" = "yes"; then
if test "x$HAVE_FFMPEG" = xyes; then
AC_DEFINE(HAVE_FFMPEG, 1, [Define if ffmpeg is enabled])
else
- AC_MSG_ERROR([Couldn't find ffmpeg.])
+ AC_MSG_ERROR([Couldn't find ffmpeg. You might need to install the libavcodec-dev package.])
fi...
2007 Jul 07
1
Compiling swfdec without GTK
...compile it on my x86 machine without GTK support. I have already compiled it with GTK. But if I disable GTK then I am getting error messages while compiling test directory.
I have used following configuration options:
./configure enable_shared=no enable_static=yes enable_mad=no enable_gtk_doc=no enable_ffmpeg=no enable_gtk=no enable_gnome_vfs=no enable_gstreamer=no with_audio=none
Following are the error messages:
make[3]: Entering directory `/home/FlashLibs/swfdec-0.4.5/test'
if /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.. -Wall -Wextra -Wno-missing-field-initial...
2007 Oct 26
0
6 commits - configure.ac libswfdec/swfdec_codec_audio.c libswfdec/swfdec_codec_gst.c libswfdec/swfdec_codec_video.c player/swfplay.c
...'t find mad. You might need to install the libmad0-dev package.])
fi
else
- AC_MSG_WARN([*** mad audio support was not enabled. ***])
+ AC_MSG_NOTICE([mad audio support was not enabled.])
fi
AM_CONDITIONAL(HAVE_MAD, [test "x$HAVE_MAD" = xyes])
@@ -225,7 +225,7 @@ if test "$enable_ffmpeg" = "yes"; then
AC_MSG_ERROR([Couldn't find ffmpeg. You might need to install the libavcodec-dev and libswscale-dev packages.])
fi
else
- AC_MSG_WARN([*** ffmpeg support was not enabled. ***])
+ AC_MSG_NOTICE([ffmpeg support was not enabled.])
fi
AM_CONDITIONAL(HAVE_FFMPE...
2007 Jun 27
0
Branch 'as' - 16 commits - configure.ac libswfdec/Makefile.am libswfdec/swfdec_as_context.c libswfdec/swfdec_as_frame.c libswfdec/swfdec_as_frame.h libswfdec/swfdec_as_function.c libswfdec/swfdec_as_interpret.c libswfdec/swfdec_as_script_function.c
...a8df2cffea271d0ad5935440b1)
Author: Benjamin Otte <otte at gnome.org>
Date: Tue Jun 26 13:35:15 2007 +0200
Check for libswscale, too
diff --git a/configure.ac b/configure.ac
index 1766eaf..f366094 100644
--- a/configure.ac
+++ b/configure.ac
@@ -196,7 +196,7 @@ AC_ARG_ENABLE(ffmpeg,
enable_ffmpeg="yes")
if test "$enable_ffmpeg" = "yes"; then
- PKG_CHECK_MODULES(FFMPEG, libavcodec, HAVE_FFMPEG=yes, HAVE_FFMPEG=no)
+ PKG_CHECK_MODULES(FFMPEG, libavcodec libswscale, HAVE_FFMPEG=yes, HAVE_FFMPEG=no)
AC_SUBST(FFMPEG_CFLAGS)
AC_SUBST(FFMPEG_LIBS)
if test &qu...