summaryrefslogtreecommitdiff
path: root/m4
diff options
context:
space:
mode:
Diffstat (limited to 'm4')
-rw-r--r--m4/input.m49
1 files changed, 5 insertions, 4 deletions
diff --git a/m4/input.m4 b/m4/input.m4
index 93d387935..0e54a79e0 100644
--- a/m4/input.m4
+++ b/m4/input.m4
@@ -129,10 +129,11 @@ AC_DEFUN([XINE_INPUT_PLUGINS], [
dnl XXX: This could be cleaned up so that code does not have to ifdef so much
XINE_ARG_WITH([external-dvdnav], [Use external dvdnav library (not recommended)])
if test x"$with_external_dvdnav" != x"no"; then
- ACX_PACKAGE_CHECK([DVDNAV], [0.1.9], [dvdnav-config],
- [AC_DEFINE([HAVE_DVDNAV], 1, [Define this if you have a suitable version of libdvdnav])],
- [AC_MSG_RESULT([*** no usable version of libdvdnav found, using internal copy ***])])
- AC_CHECK_LIB([dvdread], [navRead_DSI], [DVDNAV_LIBS="$DVDNAV_LIBS -ldvdread"], [])
+ PKG_CHECK_MODULES([DVDREAD], [dvdread],
+ [PKG_CHECK_MODULES([DVDNAV], [dvdnav],
+ [AC_DEFINE([HAVE_DVDNAV], 1, [Define this if you have a suitable version of libdvdnav])],
+ [AC_MSG_RESULT([*** no usable version of libdvdnav found, using internal copy ***])])],
+ [AC_MSG_RESULT([*** no usable version of libdvdread found, using internal libdvdnav ***])])
else
AC_MSG_RESULT([Using included DVDNAV support])
fi