diff options
-rw-r--r-- | m4/decoders.m4 | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/m4/decoders.m4 b/m4/decoders.m4 index 659f8a766..bb8722702 100644 --- a/m4/decoders.m4 +++ b/m4/decoders.m4 @@ -92,6 +92,7 @@ AC_DEFUN([XINE_DECODER_PLUGINS], [ dnl Check presence of ffmpeg/avutil.h to see if it's old or new dnl style for headers. The new style would be preferred actually... + ac_save_CFLAGS="$CFLAGS" CFLAGS="$CFLAGS $FFMPEG_CFLAGS" AC_CHECK_HEADERS([ffmpeg/avutil.h]) AC_CHECK_HEADERS([libavutil/avutil.h]) AC_CHECK_HEADERS([libavutil/sha1.h]) @@ -99,6 +100,7 @@ AC_DEFUN([XINE_DECODER_PLUGINS], [ if test "$ac_cv_header_ffmpeg_avutil_h" = "yes" && test "$ac_cv_header_libavutil_avutil_h" = "yes"; then AC_MSG_ERROR([old & new ffmpeg headers found - you need to clean up!]) fi + CFLAGS="$ac_save_CFLAGS" dnl gdk-pixbuf (optional; enabled by default) AC_ARG_ENABLE([gdkpixbuf], |