configure: fix --without-dvdread so that HAVE_DVDREAD isn't defined

This commit is contained in:
Moritz Bunkus 2020-05-05 17:33:06 +02:00
parent a97cdc3bcf
commit 77f686c15c
No known key found for this signature in database
GPG Key ID: 74AF00ADF2E32C85

View File

@ -14,14 +14,13 @@ if test "x$with_dvdread" != "xno"; then
fi fi
if test x"$dvdread_found" = xyes; then if test x"$dvdread_found" = xyes; then
AC_DEFINE(HAVE_DVDREAD,,[define if building with dvdread])
USE_DVDREAD=yes USE_DVDREAD=yes
opt_features_yes="$opt_features_yes\n * DVD chapter support via libdvdread" opt_features_yes="$opt_features_yes\n * DVD chapter support via libdvdread"
else else
opt_features_no="$opt_features_no\n * DVD chapter support via libdvdread" opt_features_no="$opt_features_no\n * DVD chapter support via libdvdread"
fi fi
AC_DEFINE(HAVE_DVDREAD,,[define if building with dvdread])
AC_SUBST(DVDREAD_CFLAGS) AC_SUBST(DVDREAD_CFLAGS)
AC_SUBST(DVDREAD_LIBS) AC_SUBST(DVDREAD_LIBS)
AC_SUBST(USE_DVDREAD) AC_SUBST(USE_DVDREAD)