Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc
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
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
...
@@ -4268,7 +4268,7 @@ then
PKG_CHECK_MODULES(SVG,
PKG_CHECK_MODULES(SVG,
librsvg-2.0 >= 2.9.0,
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_CFLAGS([svg],[$SVG_CFLAGS])
VLC_ADD_PLUGINS([svg]) ],
VLC_ADD_PLUGINS([svg]) ],
[AC_MSG_WARN(SVG library not found)])
[AC_MSG_WARN(SVG library not found)])
...
@@ -4452,18 +4452,18 @@ AC_ARG_WITH(directfb,
...
@@ -4452,18 +4452,18 @@ AC_ARG_WITH(directfb,
if test "${enable_directfb}" = "yes"; then
if test "${enable_directfb}" = "yes"; then
have_directfb="false"
have_directfb="false"
CPPFLAGS_mydirectfb=
CPPFLAGS_mydirectfb=
L
DFLAG
S_mydirectfb=
L
IB
S_mydirectfb=
if test "${with_directfb}" != "no" -a -n "${with_directfb}"; then
if test "${with_directfb}" != "no" -a -n "${with_directfb}"; then
dnl Trying the given location
dnl Trying the given location
CPPFLAGS_save=
${CPPFLAGS}
CPPFLAGS_save=
"${CPPFLAGS}"
L
DFLAGS_save=${LDFLAGS}
L
IBS_save="${LIBS}"
CPPFLAGS_new="-I${with_directfb}/include -D_REENTRANT -D_GNU_SOURCE"
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
IB
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
IBS_new="${LIB
S_new} -L${with_directfb}/src/.libs/"
CPPFLAGS="${CPPFLAGS} ${CPPFLAGS_new}"
CPPFLAGS="${CPPFLAGS} ${CPPFLAGS_new}"
L
DFLAGS="${LD_FLAGS} ${LDFLAG
S_new}"
L
IBS="${LIBS} ${LIB
S_new}"
dnl FIXME: too obscure
dnl FIXME: too obscure
AC_CHECK_HEADER([directfb.h], [
AC_CHECK_HEADER([directfb.h], [
...
@@ -4476,10 +4476,10 @@ if test "${enable_directfb}" = "yes"; then
...
@@ -4476,10 +4476,10 @@ if test "${enable_directfb}" = "yes"; then
dnl Restore flags
dnl Restore flags
CPPFLAGS="${CPPFLAGS_save}"
CPPFLAGS="${CPPFLAGS_save}"
L
DFLAGS="${LDFLAG
S_save}"
L
IBS="${LIB
S_save}"
if test "${have_directfb}" = "true"; then
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}"
CPPFLAGS_mydirectfb="${CPPFLAGS_new}"
fi
fi
else
else
...
@@ -4487,13 +4487,13 @@ if test "${enable_directfb}" = "yes"; then
...
@@ -4487,13 +4487,13 @@ if test "${enable_directfb}" = "yes"; then
AC_PATH_PROG(DIRECTFB_CONFIG, directfb-config, no, ${PATH})
AC_PATH_PROG(DIRECTFB_CONFIG, directfb-config, no, ${PATH})
if test "${DIRECTFB_CONFIG}" != "no"; then
if test "${DIRECTFB_CONFIG}" != "no"; then
CPPFLAGS_mydirectfb="`${DIRECTFB_CONFIG} --cflags`"
CPPFLAGS_mydirectfb="`${DIRECTFB_CONFIG} --cflags`"
L
DFLAG
S_mydirectfb="`${DIRECTFB_CONFIG} --libs`"
L
IB
S_mydirectfb="`${DIRECTFB_CONFIG} --libs`"
have_directfb="true"
have_directfb="true"
else
else
dnl Trying with pkg-config
dnl Trying with pkg-config
PKG_CHECK_MODULES(DIRECTFB, directfb, [
PKG_CHECK_MODULES(DIRECTFB, directfb, [
CPPFLAGS_mydirectfb="${DIRECTFB_CFLAGS}"
CPPFLAGS_mydirectfb="${DIRECTFB_CFLAGS}"
L
DFLAG
S_mydirectfb="${DIRECTFB_LIBS}"
L
IB
S_mydirectfb="${DIRECTFB_LIBS}"
have_directfb="true"
have_directfb="true"
], [have_directfb="false"])
], [have_directfb="false"])
fi
fi
...
@@ -4501,7 +4501,7 @@ if test "${enable_directfb}" = "yes"; then
...
@@ -4501,7 +4501,7 @@ if test "${enable_directfb}" = "yes"; then
if test "${have_directfb}" = "true"; then
if test "${have_directfb}" = "true"; then
VLC_ADD_PLUGINS([directfb])
VLC_ADD_PLUGINS([directfb])
VLC_ADD_CPPFLAGS([directfb],[${CPPFLAGS_mydirectfb}])
VLC_ADD_CPPFLAGS([directfb],[${CPPFLAGS_mydirectfb}])
VLC_ADD_L
DFLAGS([directfb],[${LDFLAG
S_mydirectfb}])
VLC_ADD_L
IBS([directfb],[${LIB
S_mydirectfb}])
else
else
AC_MSG_ERROR([cannot find directfb headers and/or libraries ])
AC_MSG_ERROR([cannot find directfb headers and/or libraries ])
fi
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