From c1dc485bd3f2d47e07ce8af75601f63c21366884 Mon Sep 17 00:00:00 2001 From: Daniel Caujolle-Bert Date: Fri, 3 Jan 2003 00:33:48 +0000 Subject: add --with-included-dvdnav configure option, must be used on system where dvdnav/dvdread is already installed, since navigation with mouse will not work properly CVS patchset: 3756 CVS date: 2003/01/03 00:33:48 --- configure.ac | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) diff --git a/configure.ac b/configure.ac index 6d4ad2378..6feec07ef 100644 --- a/configure.ac +++ b/configure.ac @@ -660,11 +660,17 @@ AM_CONDITIONAL(HAVE_CDROM_IOCTLS, [test x"$have_cdrom_ioctls" = "xyes"]) dnl --------------------------------------------- dnl check for a usable version of libdvdnav dnl --------------------------------------------- -AM_PATH_DVDNAV(0.1.4, - 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 ***])]) -AM_CONDITIONAL(HAVE_DVDNAV, [test x"$no_dvdnav" != "xyes"]) +AC_ARG_WITH(included-dvdnav,[ --with-included-dvdnav Use included dvdnav library [recommended]], + included_dvdnav="yes"; no_dvdnav="yes", included_dvdnav="no") +if test x"$included_dvdnav" = "xno"; then + AM_PATH_DVDNAV(0.1.4, + 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 ***])]) +else + AC_MSG_RESULT([Use included DVDNAV/DVDREAD support]) +fi +AM_CONDITIONAL(HAVE_DVDNAV, [test x"$no_dvdnav" != "xyes"]) dnl --------------------------------------------- dnl ASF build can be optional -- cgit v1.2.3