You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
k3b/libk3b/videodvd/configure.in.in

29 lines
743 B

AC_ARG_WITH(
libdvdread,
AS_HELP_STRING(
[--without-libdvdread],
[build K3b without libdvdread (Video DVD ripping) support (default=no)]),
[ac_cv_use_libdvdread=$withval],
[ac_cv_use_libdvdread=yes]
)
have_libdvdread=no
if test "$ac_cv_use_libdvdread" = "yes"; then
KDE_CHECK_HEADERS(dvdread/dvd_reader.h,
[
KDE_CHECK_LIB(dvdread,
DVDOpen,
[
AC_DEFINE(HAVE_LIBDVDREAD,1,[Defined if you have libdvdread headers and libs installed.])
have_libdvdread=yes
]
)
])
fi
AM_CONDITIONAL(include_videodvdrip, [test x$have_libdvdread = xyes])
#if test "$have_libdvdread" = "no"; then
# AC_MSG_ERROR([Could not find libdvdread. Please install.])
# DO_NOT_COMPILE="$DO_NOT_COMPILE k3b"
#fi