Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-2-2
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
videolan
vlc-2-2
Commits
6c93b8b7
Commit
6c93b8b7
authored
Oct 17, 2007
by
Jean-Paul Saman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix detection of a52 in configure.ac
parent
d476fd78
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
5 deletions
+8
-5
configure.ac
configure.ac
+8
-5
No files found.
configure.ac
View file @
6c93b8b7
...
...
@@ -119,6 +119,9 @@ dnl kludge because only the debian package provides a ffmpeg-config
if test -z $with_libmpeg2_tree; then
with_libmpeg2_tree=${topdir}/extras/contrib/src/mpeg2dec
fi
if test -z $with_a52_tree; then
with_a52_tree=${topdir}/extras/contrib/src/a52dec
fi
if test ".`uname -s`" = ".Darwin"; then
export LD_LIBRARY_PATH=${topdir}/extras/contrib/lib:$LD_LIBRARY_PATH
...
...
@@ -2954,7 +2957,7 @@ dnl Those options have to be here because the .pc can be bogus for ffmpeg previo
fi])
AC_ARG_WITH(ffmpeg-a52,
[ --with-ffmpeg-
x264 specify if ffmpeg has been compiled with libamrnb
support],
[ --with-ffmpeg-
a52 specify if ffmpeg has been compiled with liba52
support],
[
if test "$with_ffmpeg_a52" = "yes"; then
VLC_ADD_LIBS([ffmpeg],[-la52])
...
...
@@ -3359,7 +3362,7 @@ then
AC_MSG_RESULT(yes)
VLC_ADD_CPPFLAGS([a52tofloat32],[-I${real_a52_tree}])
VLC_ADD_LIBS([a52tofloat32],[-L${real_a52_tree}/liba52/.libs])
LDFLAGS="${LDFLAGS_save} ${LDFLAGS_a52tofloat32}"
LDFLAGS="${LDFLAGS_save} ${LDFLAGS_a52tofloat32}
-lm
"
AC_CHECK_LIB(a52, a52_free, [
VLC_ADD_BUILTINS([a52tofloat32])
VLC_ADD_CPPFLAGS([a52tofloat32],[-DUSE_A52DEC_TREE])
...
...
@@ -3367,7 +3370,7 @@ then
],[
if test -f ${real_a52_tree}/liba52/.libs/liba52.a
then
AC_MSG_ERROR([make sure you have at least a52dec-0.7.3])
AC_MSG_ERROR([make sure you have at least a52dec-0.7.3
($real_a52_tree)
])
else
AC_MSG_ERROR([the specified tree hasn't been compiled])
fi
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment