summaryrefslogtreecommitdiff
path: root/m4
diff options
context:
space:
mode:
Diffstat (limited to 'm4')
-rw-r--r--m4/decoders.m44
1 files changed, 3 insertions, 1 deletions
diff --git a/m4/decoders.m4 b/m4/decoders.m4
index ea3bf98d2..38a4b59b3 100644
--- a/m4/decoders.m4
+++ b/m4/decoders.m4
@@ -94,7 +94,9 @@ AC_DEFUN([XINE_DECODER_PLUGINS], [
dnl style for headers. The new style would be preferred actually...
AC_CHECK_HEADERS([ffmpeg/avutil.h])
AC_CHECK_HEADERS([libavutil/avutil.h])
- if test "$ac_cv_header_ffmpeg_avutil_h" = "yes" && test "$ac_cv_header_libavutil_avutil_h" = "yes"; then
+ AC_CHECK_HEADERS([libavutil/sha1.h])
+ AC_CHECK_HEADERS([libavutil/sha.h])
+ if test "$ac_cv_header_ffmpeg_avutil_h$ac_cv_header_libavutil_avutil_h" = "yesyes" || test "$ac_cv_header_libavutil_sha1_h$ac_cv_header_libavutil_sha_h" = "yesyes"; then
AC_MSG_ERROR([old & new ffmpeg headers found - you need to clean up!])
fi