[libbluray-devel] [Git][videolan/libbluray][master] configure.ac: Fix explicit --with-external-libudfread handling
Jean-Baptiste Kempf (@jbk)
gitlab at videolan.org
Sat Mar 29 22:45:40 UTC 2025
Jean-Baptiste Kempf pushed to branch master at VideoLAN / libbluray
Commits:
c1550e5c by Sam James at 2023-05-31T07:15:59+01:00
configure.ac: Fix explicit --with-external-libudfread handling
We need "!= xno" [0] if we want the default to be *enabled*, otherwise passing
--with-external-libudfread actually ends up disabling it.
[0] https://www.gnu.org/software/autoconf/manual/autoconf-2.71/html_node/External-Software.html
- - - - -
1 changed file:
- configure.ac
Changes:
=====================================
configure.ac
=====================================
@@ -316,7 +316,7 @@ AM_CONDITIONAL([BDJ_J2SE], [ test x"$BDJ_TYPE" != x"j2me" ])
dnl bootclasspath
AC_SUBST(BDJ_BOOTCLASSPATH)
-AS_IF([test "x$with_external_libudfread" = "xyes"], [
+AS_IF([test "x$with_external_libudfread" != "xno"], [
PKG_CHECK_MODULES([LIBUDFREAD], [libudfread >= 1.1.0],
[with_libudfread=yes
AC_DEFINE([HAVE_LIBUDFREAD], [1], [Define to 1 if external libudfread is to be used])
View it on GitLab: https://code.videolan.org/videolan/libbluray/-/commit/c1550e5cfd92229373f4cb729e2320827b9d22a8
--
View it on GitLab: https://code.videolan.org/videolan/libbluray/-/commit/c1550e5cfd92229373f4cb729e2320827b9d22a8
You're receiving this email because of your account on code.videolan.org.
VideoLAN code repository instance
More information about the libbluray-devel
mailing list