diff options
author | Daniel Caujolle-Bert <f1rmb@users.sourceforge.net> | 2003-01-03 00:33:48 +0000 |
---|---|---|
committer | Daniel Caujolle-Bert <f1rmb@users.sourceforge.net> | 2003-01-03 00:33:48 +0000 |
commit | c1dc485bd3f2d47e07ce8af75601f63c21366884 (patch) | |
tree | 4c9c8707611e7da1ca4882f9975b20c67c5c00e4 | |
parent | 34aa1b29baa9996c5c47f73c9dd7b6fcfba8c6fd (diff) | |
download | xine-lib-c1dc485bd3f2d47e07ce8af75601f63c21366884.tar.gz xine-lib-c1dc485bd3f2d47e07ce8af75601f63c21366884.tar.bz2 |
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
-rw-r--r-- | configure.ac | 14 |
1 files 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 |