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
d87bb094
Commit
d87bb094
authored
Dec 28, 2005
by
Jean-Paul Saman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Detect directfb headers properly and put the right linker flags.
parent
648a16ca
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
16 additions
and
7 deletions
+16
-7
configure.ac
configure.ac
+16
-7
No files found.
configure.ac
View file @
d87bb094
...
...
@@ -3724,22 +3724,31 @@ AC_ARG_ENABLE(directfb,
[ --enable-directfb DirectFB support (default disabled)])
if test "${enable_directfb}" = "yes"
then
AC_CHECK_HEADER(directfb.h, have_directfb="true",have_directfb="false")
if test "${have_directfb}"= "true" -a "${with_directfb}" = "no"
if test "${with_directfb}" = "no"
then
AC_CHECK_HEADER(directfb.h, have_directfb="true", have_directfb="false")
if test "${have_directfb}"= "true"
then
VLC_ADD_PLUGINS([directfb])
VLC_ADD_LDFLAGS([directfb],[-ldirectfb -lfusion -ldirect -lpthread
-lz -ldl])
VLC_ADD_LDFLAGS([directfb],[-ldirectfb -lfusion -ldirect -lpthread -ljpeg
-lz -ldl])
VLC_ADD_CPPFLAGS([directfb],[-I/usr/include/directfb -D_REENTRANT])
else
AC_MSG_ERROR([cannot find /usr/include/directfb headers, make sure directfb is installed on your system or use --disable-directfb])
fi
else
CPPFLAGS_save="${CPPFLAGS}"
CPPFLAGS="${CPPFLAGS} -I${with_directfb}/include"
AC_CHECK_HEADER(directfb.h, have_directfb="true", have_directfb="false")
CPPFLAGS="${CPPFLAGS_save}"
AC_ARG_WITH(directfb,
[ --with-directfb=PATH path to directfb],
[ if test "${with_directfb}" != "no" -a -n "${with_directfb}"
then
VLC_ADD_PLUGINS([directfb])
VLC_ADD_CPPFLAGS([directfb],[-I${with_directfb}/include -D_REENTRANT])
VLC_ADD_LDFLAGS([directfb],[-L${with_directfb}/lib])
VLC_ADD_LDFLAGS([directfb],[-L${with_directfb}/lib
-ldirectfb -lfusion -ldirect -lpthread -ljpeg -lz -ldl
])
fi ],
[ AC_MSG_ERROR([cannot find directfb headers]) ])
[ AC_MSG_ERROR([cannot find directfb headers
in ${with_directfb}/include
]) ])
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