diff options
Diffstat (limited to 'm4/dvdnav.m4')
-rw-r--r-- | m4/dvdnav.m4 | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/m4/dvdnav.m4 b/m4/dvdnav.m4 index aa4a2b0f9..505050676 100644 --- a/m4/dvdnav.m4 +++ b/m4/dvdnav.m4 @@ -126,7 +126,11 @@ main () } return 1; } -],, no_dvdnav=yes,[echo $ac_n "cross compiling; assumed OK... $ac_c"]) +],, no_dvdnav=yes, + AC_TRY_LINK([ +#include <dvdnav.h> +#include <stdio.h> +], [ return 0; ],, no_dvdnav=yes)) CFLAGS="$ac_save_CFLAGS" LIBS="$ac_save_LIBS" fi |