summaryrefslogtreecommitdiff
path: root/m4
diff options
context:
space:
mode:
authorDarren Salt <devspam@moreofthesa.me.uk>2014-02-26 15:28:24 +0000
committerDarren Salt <devspam@moreofthesa.me.uk>2014-02-26 15:28:24 +0000
commit3f721ef66e89b8e091dab0af10bb674517aa731c (patch)
tree405e1454bf54aa2a727c8c39a45b320d6bdf0934 /m4
parentcf7abba9c6c6fb0fda0464986228b10ea5e279ec (diff)
downloadxine-lib-3f721ef66e89b8e091dab0af10bb674517aa731c.tar.gz
xine-lib-3f721ef66e89b8e091dab0af10bb674517aa731c.tar.bz2
dvdnav-config has gone away.
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