From ba926da9dcfeb427d89d5c1ce0bad03d7e72af00 Mon Sep 17 00:00:00 2001 From: sam Date: Wed, 5 Aug 2009 13:44:37 +0000 Subject: [PATCH] Add USE_FFMPEG to the list of configure macros. git-svn-id: file:///srv/caca.zoy.org/var/lib/svn/libpipi/trunk@3626 92316355-f0b4-4df1-b90c-862c8a59935f --- configure.ac | 3 +++ 1 file changed, 3 insertions(+) diff --git a/configure.ac b/configure.ac index 8cf7ac7..edeb664 100644 --- a/configure.ac +++ b/configure.ac @@ -224,6 +224,9 @@ if test "${ac_cv_my_have_ffmpeg}" = "no"; then PKG_CHECK_MODULES([LIBAVFORMAT], [libavformat], [:], [ac_cv_my_have_ffmpeg=no]) PKG_CHECK_MODULES([LIBSWSCALE], [libswscale], [:], [ac_cv_my_have_ffmpeg=no]) fi +if test "${ac_cv_my_have_ffmpeg}" != "no"; then + AC_DEFINE(USE_FFMPEG, 1, Define to 1 to use FFmpeg) +fi AM_CONDITIONAL(USE_FFMPEG, test "${ac_cv_my_have_ffmpeg}" = "yes") # Build CGAL stuff?