From 9bd0fa6ba63856698a88c95debb65f2a04ab93d9 Mon Sep 17 00:00:00 2001 From: Brad Smith Date: Sun, 25 Jul 2010 19:37:42 +0000 Subject: Fix DVDNAV autoconf tests The DVDNAV autoconf test is broken due to a missing header. DVDNAV's dvdnav.h header due to the inclusion of dvdread/ifo_types.h requires stdint.h be included before dvdnav.h. --- m4/dvdnav.m4 | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/m4/dvdnav.m4 b/m4/dvdnav.m4 index a7f354b63..d82fc02db 100644 --- a/m4/dvdnav.m4 +++ b/m4/dvdnav.m4 @@ -84,6 +84,7 @@ dnl checks the results of dvdnav-config to some extent dnl rm -f conf.dvdnavtest AC_RUN_IFELSE([AC_LANG_SOURCE([[ +#include #include #include #include @@ -129,6 +130,7 @@ main () ]])],[],[no_dvdnav=yes],[no_dvdnav=cc]) if test "x$no_dvdnav" = xcc; then AC_LINK_IFELSE([AC_LANG_PROGRAM([[ +#include #include #include ]], [[ return 0; ]])],[no_dvdnav=''],[no_dvdnav=yes]) @@ -141,7 +143,9 @@ main () AC_MSG_RESULT(yes) ifelse([$2], , :, [$2]) dnl nav_*.h seem to have been moved from dvdnav at some point? - AC_CHECK_HEADERS([dvdread/nav_types.h]) + AC_CHECK_HEADERS([dvdread/nav_types.h],,, +[#include +]) else AC_MSG_RESULT(no) if test "$DVDNAV_CONFIG" = "no" ; then @@ -157,6 +161,7 @@ main () CFLAGS="$CFLAGS $DVDNAV_CFLAGS" LIBS="$LIBS $DVDNAV_LIBS" AC_LINK_IFELSE([AC_LANG_PROGRAM([[ +#include #include #include ]], [[ return 0; ]])], -- cgit v1.2.3