From 77f686c15c7054d2b5cd05b56bc13e9fc37f1555 Mon Sep 17 00:00:00 2001 From: Moritz Bunkus Date: Tue, 5 May 2020 17:33:06 +0200 Subject: [PATCH] configure: fix --without-dvdread so that HAVE_DVDREAD isn't defined --- ac/dvdread.m4 | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/ac/dvdread.m4 b/ac/dvdread.m4 index 84f5afd9b..4f69b74bf 100644 --- a/ac/dvdread.m4 +++ b/ac/dvdread.m4 @@ -14,14 +14,13 @@ if test "x$with_dvdread" != "xno"; then fi if test x"$dvdread_found" = xyes; then + AC_DEFINE(HAVE_DVDREAD,,[define if building with dvdread]) USE_DVDREAD=yes opt_features_yes="$opt_features_yes\n * DVD chapter support via libdvdread" else opt_features_no="$opt_features_no\n * DVD chapter support via libdvdread" fi -AC_DEFINE(HAVE_DVDREAD,,[define if building with dvdread]) - AC_SUBST(DVDREAD_CFLAGS) AC_SUBST(DVDREAD_LIBS) AC_SUBST(USE_DVDREAD)