Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-1.1
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-1.1
Commits
c2275db2
Commit
c2275db2
authored
Jun 14, 2003
by
Gildas Bazin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* configure.ac.in: old faad2 detection.
parent
42b38342
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
10 deletions
+13
-10
configure.ac.in
configure.ac.in
+13
-10
No files found.
configure.ac.in
View file @
c2275db2
...
...
@@ -1620,15 +1620,6 @@ AC_ARG_ENABLE(faad,
[ --enable-faad faad codec (default disabled)])
if test "x${enable_faad}" = "xyes"
then
AC_ARG_WITH(faad,
[ --with-faad=PATH path to faad installation],[],[])
if test "x${with_faad}" != "xno" -a "x${with_faad}" != "x"
then
CPPFLAGS_faad="${CPPFLAGS_faad} -I${with_faad}/include"
LDFLAGS_faad="${LDFLAGS_faad} -L${with_faad}/lib"
fi
LDFLAGS_faad="${LDFLAGS_faad}"
AC_ARG_WITH(faad-tree,
[ --with-faad-tree=PATH faad tree for static linking])
if test "x${with_faad_tree}" != "x"
...
...
@@ -1648,6 +1639,14 @@ then
BUILTINS="${BUILTINS} faad"
LDFLAGS_faad="${LDFLAGS_faad} -L${real_faad_tree}/libfaad/.libs -lfaad"
CPPFLAGS_faad="${CPPFLAGS_faad} -I${real_faad_tree}/include"
CPPFLAGS="${CPPFLAGS_save} ${CPPFLAGS_faad}"
LDFLAGS="${LDFLAGS_save} ${LDFLAGS_faad}"
AC_TRY_COMPILE([#include <faad.h>],
[faacDecHandle a; faacDecFrameInfo *b; unsigned char *c;
unsigned long d; faacDecDecode(a,b,c,d);],
[], [AC_DEFINE(HAVE_OLD_FAAD2, 1, Define if FAAD2 < 1.2)])
LDFLAGS="${LDFLAGS_save}"
CPPFLAGS="${CPPFLAGS_save}"
else
dnl The given libfaad wasn't built
AC_MSG_RESULT(no)
...
...
@@ -1660,7 +1659,11 @@ then
[ AC_MSG_ERROR([Cannot find development headers for libfaad...]) ])
AC_CHECK_LIB(faad, faacDecOpen, [
PLUGINS="${PLUGINS} faad"
LDFLAGS_faad="${LDFLAGS_faad} -lfaad" ],
LDFLAGS_faad="${LDFLAGS_faad} -lfaad"
AC_TRY_COMPILE([#include <faad.h>],
[faacDecHandle a; faacDecFrameInfo *b; unsigned char *c;
unsigned long d; faacDecDecode(a,b,c,d);],
[], [AC_DEFINE(HAVE_OLD_FAAD2, 1, Define if FAAD2 < 1.2)]) ],
[ AC_MSG_ERROR([Cannot find libfaad library...]) ])
LDFLAGS="${LDFLAGS_save}"
CPPFLAGS="${CPPFLAGS_save}"
...
...
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