Changeset 456:bd5be34d0598 in mediastreamer2
- Timestamp:
- May 4, 2009 1:28:35 PM (4 years ago)
- Branch:
- default
- File:
-
- 1 edited
-
linphone/mediastreamer2/acinclude.m4 (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
linphone/mediastreamer2/acinclude.m4
r437 r456 67 67 68 68 dnl test for ffmpeg presence 69 PKG_CHECK_MODULES(FFMPEG, [libavcodec >= 50.0.0 ],ffmpeg_found=yes , ffmpeg_found=no) 70 dnl workaround for debian... 71 PKG_CHECK_MODULES(FFMPEG, [libavcodec >= 0d.50.0.0 ], ffmpeg_found=yes, ffmpeg_found=no) 69 PKG_CHECK_MODULES(FFMPEG, [libavcodec >= 51.0.0 ],ffmpeg_found=yes , ffmpeg_found=no) 72 70 if test x$ffmpeg_found = xno ; then 73 AC_MSG_ERROR([Could not find ffmpeg headers and library. This is mandatory for video support]) 71 AC_MSG_ERROR([Could not find libavcodec (from ffmpeg) headers and library. This is mandatory for video support]) 72 fi 73 PKG_CHECK_MODULES(SWSCALE, [libswscale >= 0.7.0 ],swscale_found=yes , swscale_found=no) 74 if test x$swscale_found = xno ; then 75 AC_MSG_ERROR([Could not find libswscale (from ffmpeg) headers and library. This is mandatory for video support]) 74 76 fi 75 77 … … 95 97 dnl #endif 96 98 CPPFLAGS_save=$CPPFLAGS 97 CPPFLAGS=" $FFMPEG_CFLAGS $CPPFLAGS"99 CPPFLAGS="SWSCALE_CFLAGS $CPPFLAGS" 98 100 AC_CHECK_HEADERS(libswscale/swscale.h) 99 101 CPPFLAGS=$CPPFLAGS_save 100 101 PKG_CHECK_MODULES(SWSCALE, [libswscale >= 0.5.0 ], [echo "We have libswscale"],102 [echo "We don't have libswscale, let's hope its symbols are in libavcodec"] )103 102 104 103 if test "$libsdldir" != "none" ; then
Note: See TracChangeset
for help on using the changeset viewer.
