Fix building with current git FFmpeg
authorSteve Youngs <steve@sxemacs.org>
Wed, 11 May 2011 23:50:23 +0000 (09:50 +1000)
committerSteve Youngs <steve@sxemacs.org>
Wed, 11 May 2011 23:50:23 +0000 (09:50 +1000)
* m4/sxe-mm.m4 (SXE_MM_CHECK_FFMPEG): Turn off -Werror in the test
to see if url_fopen() needs ByteIOContext**.

That stuff is now deprecated in current FFmpeg git repo.  This
patch allows SXEmacs to build with it, although, with loads of
warnings.  Yeah, I'm on it. :-)

Signed-off-by: Steve Youngs <steve@sxemacs.org>
m4/sxe-mm.m4

index 919cad7..b1842bd 100644 (file)
@@ -380,7 +380,7 @@ dnl         _SXE_CHECK_pkgconfig_based([ffmpeg], [libavformat], [49.0.0])
 
        SXE_DUMP_LIBS
        CPPFLAGS="$CPPFLAGS ${FFMPEG_CPPFLAGS}"
-       SXE_LANG_WERROR([on])
+       SXE_LANG_WERROR([off])
        AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[
 #if defined HAVE_ERRNO_H
 # include <errno.h>