summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDarren Salt <linux@youmustbejoking.demon.co.uk>2011-11-18 18:21:03 +0000
committerDarren Salt <linux@youmustbejoking.demon.co.uk>2011-11-18 18:21:03 +0000
commit562bd086cd03e692711fe99218ddb027039ca978 (patch)
tree3a509423aad37432030f7a831c865bed76d72cbb
parent817593b5183d6bd79c62dbc31de2f24d74a288b3 (diff)
downloadxine-lib-562bd086cd03e692711fe99218ddb027039ca978.tar.gz
xine-lib-562bd086cd03e692711fe99218ddb027039ca978.tar.bz2
Enhance and move the "internal ffmpeg" warning.
--HG-- branch : point-release
-rw-r--r--configure.ac24
1 files changed, 16 insertions, 8 deletions
diff --git a/configure.ac b/configure.ac
index 6af7ef7c1..7301c0ee1 100644
--- a/configure.ac
+++ b/configure.ac
@@ -372,14 +372,7 @@ if test "x$with_external_ffmpeg" != "xno"; then
AC_MSG_RESULT([using external ffmpeg])
else
- AC_MSG_NOTICE([
-*********************************************************************
-xine-lib is configured to use internal ffmpeg.
-
-This copy of ffmpeg is old. You are strongly advised to install a
-newer version (including development files) and to reconfigure
-xine-lib to use it.
-*********************************************************************])
+ AC_MSG_RESULT([using internal ffmpeg - NOT RECOMMENDED OR SUPPORTED])
LIBFFMPEG_CPPFLAGS="-DHAVE_AV_CONFIG_H -DRUNTIME_CPUDETECT -DXINE_MPEG_ENCODER -D_ISOC9X_SOURCE -DCONFIG_DECODERS"
AC_CHECK_TYPES(int_fast8_t, [], [LIBFFMPEG_CPPFLAGS="$LIBFFMPEG_CPPFLAGS -DEMULATE_FAST_INT"])
AC_SUBST([LIBFFMPEG_CPPFLAGS])
@@ -3367,3 +3360,18 @@ if test "x$no_x" = "xyes"; then
;;
esac
fi
+
+dnl warn if internal ffmpeg is being used
+if test "x$with_external_ffmpeg" = "xno"; then
+ AC_MSG_NOTICE([
+*********************************************************************
+xine-lib is configured to use internal ffmpeg.
+
+This copy of ffmpeg is old and has known security problems.
+Don't use it. We don't want you to. We only care that xine-lib is
+compilable with it; beyond that, you're completely on your own.
+
+You are STRONGLY advised to install a newer version (including
+development files) and to reconfigure xine-lib to use it.
+*********************************************************************])
+fi