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
72ec6630
Commit
72ec6630
authored
Oct 21, 2007
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Same as previous commit
parent
edef2bc8
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
12 deletions
+12
-12
configure.ac
configure.ac
+12
-12
No files found.
configure.ac
View file @
72ec6630
...
...
@@ -4268,7 +4268,7 @@ then
PKG_CHECK_MODULES(SVG,
librsvg-2.0 >= 2.9.0,
[
VLC_ADD_L
DFLAG
S([svg],[$SVG_LIBS])
VLC_ADD_L
IB
S([svg],[$SVG_LIBS])
VLC_ADD_CFLAGS([svg],[$SVG_CFLAGS])
VLC_ADD_PLUGINS([svg]) ],
[AC_MSG_WARN(SVG library not found)])
...
...
@@ -4452,18 +4452,18 @@ AC_ARG_WITH(directfb,
if test "${enable_directfb}" = "yes"; then
have_directfb="false"
CPPFLAGS_mydirectfb=
L
DFLAG
S_mydirectfb=
L
IB
S_mydirectfb=
if test "${with_directfb}" != "no" -a -n "${with_directfb}"; then
dnl Trying the given location
CPPFLAGS_save=
${CPPFLAGS}
L
DFLAGS_save=${LDFLAGS}
CPPFLAGS_save=
"${CPPFLAGS}"
L
IBS_save="${LIBS}"
CPPFLAGS_new="-I${with_directfb}/include -D_REENTRANT -D_GNU_SOURCE"
L
DFLAG
S_new="-L${with_directfb}/lib/fusion/.libs/ -L${with_directfb}/lib/direct/.libs/"
L
DFLAGS_new="${LDFLAG
S_new} -L${with_directfb}/src/.libs/"
L
IB
S_new="-L${with_directfb}/lib/fusion/.libs/ -L${with_directfb}/lib/direct/.libs/"
L
IBS_new="${LIB
S_new} -L${with_directfb}/src/.libs/"
CPPFLAGS="${CPPFLAGS} ${CPPFLAGS_new}"
L
DFLAGS="${LD_FLAGS} ${LDFLAG
S_new}"
L
IBS="${LIBS} ${LIB
S_new}"
dnl FIXME: too obscure
AC_CHECK_HEADER([directfb.h], [
...
...
@@ -4476,10 +4476,10 @@ if test "${enable_directfb}" = "yes"; then
dnl Restore flags
CPPFLAGS="${CPPFLAGS_save}"
L
DFLAGS="${LDFLAG
S_save}"
L
IBS="${LIB
S_save}"
if test "${have_directfb}" = "true"; then
L
DFLAGS_mydirectfb="${LDFLAG
S_new} -lz -ldl -ldirectfb -lfusion -ldirect -lpthread"
L
IBS_mydirectfb="${LIB
S_new} -lz -ldl -ldirectfb -lfusion -ldirect -lpthread"
CPPFLAGS_mydirectfb="${CPPFLAGS_new}"
fi
else
...
...
@@ -4487,13 +4487,13 @@ if test "${enable_directfb}" = "yes"; then
AC_PATH_PROG(DIRECTFB_CONFIG, directfb-config, no, ${PATH})
if test "${DIRECTFB_CONFIG}" != "no"; then
CPPFLAGS_mydirectfb="`${DIRECTFB_CONFIG} --cflags`"
L
DFLAG
S_mydirectfb="`${DIRECTFB_CONFIG} --libs`"
L
IB
S_mydirectfb="`${DIRECTFB_CONFIG} --libs`"
have_directfb="true"
else
dnl Trying with pkg-config
PKG_CHECK_MODULES(DIRECTFB, directfb, [
CPPFLAGS_mydirectfb="${DIRECTFB_CFLAGS}"
L
DFLAG
S_mydirectfb="${DIRECTFB_LIBS}"
L
IB
S_mydirectfb="${DIRECTFB_LIBS}"
have_directfb="true"
], [have_directfb="false"])
fi
...
...
@@ -4501,7 +4501,7 @@ if test "${enable_directfb}" = "yes"; then
if test "${have_directfb}" = "true"; then
VLC_ADD_PLUGINS([directfb])
VLC_ADD_CPPFLAGS([directfb],[${CPPFLAGS_mydirectfb}])
VLC_ADD_L
DFLAGS([directfb],[${LDFLAG
S_mydirectfb}])
VLC_ADD_L
IBS([directfb],[${LIB
S_mydirectfb}])
else
AC_MSG_ERROR([cannot find directfb headers and/or libraries ])
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