Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
L
libbluray
Manage
Activity
Members
Labels
Plan
Issues
9
Issue boards
Milestones
Code
Merge requests
4
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
VideoLAN
libbluray
Commits
2f10fb73
Commit
2f10fb73
authored
2 years ago
by
Brad Smith
Committed by
Petri Hintukainen
2 years ago
Browse files
Options
Downloads
Patches
Plain Diff
Add build option to force building without external libudfread
parent
4ae2a2cf
No related branches found
No related tags found
1 merge request
!43
Add build option to force building without external libudfread
Pipeline
#274531
passed with stages
in 8 seconds
Changes
1
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
configure.ac
+14
-5
14 additions, 5 deletions
configure.ac
with
14 additions
and
5 deletions
configure.ac
+
14
−
5
View file @
2f10fb73
...
...
@@ -132,6 +132,12 @@ AC_ARG_WITH([bdj-bootclasspath],
AC_ARG_WITH([java9],
[AS_HELP_STRING([--with-java9], [build with Java 9+ (drop support for Java <1.6) @<:@default=without@:>@])])
AC_ARG_WITH([external-libudfread],
[AS_HELP_STRING([--without-external-libudfread],
[build without external libudfread @<:@default=with@:>@])],
[with_external_libudfread=$withwal],
[with_external_libudfread=yes])
dnl required programs
AC_PROG_CC
AM_PROG_CC_C_O
...
...
@@ -310,11 +316,14 @@ AM_CONDITIONAL([BDJ_J2SE], [ test x"$BDJ_TYPE" != x"j2me" ])
dnl bootclasspath
AC_SUBST(BDJ_BOOTCLASSPATH)
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])
PACKAGES="$PACKAGES libudfread >= 1.1.0"
],[
AS_IF([test "x$with_external_libudfread" = "xyes"], [
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])
PACKAGES="$PACKAGES libudfread >= 1.1.0"
],[break;])
])
AS_IF([test "x$with_libudfread" != "xyes"], [
dnl udf support (using git submodule)
with_libudfread=no
AS_IF([test ! -f "${srcdir}/contrib/libudfread/src/udfread.h"], [AC_MSG_ERROR("libudfread source tree not found")])
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment