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
66a9759e
Commit
66a9759e
authored
Feb 15, 2011
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
configure: skins2 checks for Xpm ad Xext, and cleanup
parent
7e8de34f
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
24 additions
and
30 deletions
+24
-30
configure.ac
configure.ac
+24
-30
No files found.
configure.ac
View file @
66a9759e
...
@@ -3693,48 +3693,42 @@ AS_IF([test "${enable_libtar}" != "no"], [
...
@@ -3693,48 +3693,42 @@ AS_IF([test "${enable_libtar}" != "no"], [
AC_ARG_ENABLE(skins2,
AC_ARG_ENABLE(skins2,
[AS_HELP_STRING([--enable-skins2],[Skins2 interface module (default
[AS_HELP_STRING([--enable-skins2],[Skins2 interface module (default
enabled except on MacOSX and WinCE)])]
)
enabled except on MacOSX and WinCE)])]
,, [
if test "${enable_skins2}" != "no" ||
AS_IF([test "${SYS}" != "darwin" && test "${SYS}" != "mingwce"], [
(test "${SYS}" != "darwin" &&
enable_skins2="yes"
test "${SYS}" != "mingwce" && test "${enable_skins2}" == "yes"); then
], [
enable_skins2="no"
dnl test for the required libraries
])
skins2_missing_lib="no"
])
AS_IF([test "${enable_skins2}" = "yes"], [
dnl freetype
dnl freetype
if test "${have_freetype}" != "yes"; then
AS_IF([test "${have_freetype}" != "yes"], [
skins2_missing_lib="yes"
AC_MSG_ERROR([Could not find FreeType (required for skins2)])
if test "${enable_skins2}" = "yes"; then
])
AC_MSG_ERROR([Could not find freetype (required for skins2)])
fi
fi
if test "${skins2_missing_lib}" = "no" && (test "${SYS}" = "mingw32"); then
AS_IF([test "${SYS}" = "mingw32"], [
VLC_ADD_PLUGIN([skins2])
ALIASES="${ALIASES} svlc"
VLC_ADD_CPPFLAGS([skins2],[-U_OFF_T_ -U_off_t -Imodules/gui/skins2 -DWIN32_SKINS])
VLC_ADD_CPPFLAGS([skins2],[-U_OFF_T_ -U_off_t -Imodules/gui/skins2 -DWIN32_SKINS])
VLC_ADD_CXXFLAGS([skins2],[-O2 -fno-rtti])
VLC_ADD_CXXFLAGS([skins2],[-O2 -fno-rtti])
VLC_ADD_LIBS([skins2],[-loleaut32 -lwinspool -lwinmm -lshell32 -lctl3d32 -ladvapi32 -lwsock32 -lgdi32 -lcomdlg32 -lole32 -luuid -lcomctl32 -lmsimg32 -luser32])
VLC_ADD_LIBS([skins2],[-loleaut32 -lwinspool -lwinmm -lshell32 -lctl3d32 -ladvapi32 -lwsock32 -lgdi32 -lcomdlg32 -lole32 -luuid -lcomctl32 -lmsimg32 -luser32])
else if test "${skins2_missing_lib}" = "no" && (test "${SYS}" = "darwin"); then
], [test "${SYS}" = "darwin"], [
VLC_ADD_PLUGIN([skins2])
ALIASES="${ALIASES} svlc"
VLC_ADD_CPPFLAGS([skins2],[-Imodules/gui/skins2 -DMACOSX_SKINS])
VLC_ADD_CPPFLAGS([skins2],[-Imodules/gui/skins2 -DMACOSX_SKINS])
VLC_ADD_CXXFLAGS([skins2],[-O2 -fno-rtti])
VLC_ADD_CXXFLAGS([skins2],[-O2 -fno-rtti])
VLC_ADD_LDFLAGS([skins2],[-Wl,-framework,Carbon])
VLC_ADD_LDFLAGS([skins2],[-Wl,-framework,Carbon])
else if test "${skins2_missing_lib}" = "no"; then
], [
VLC_ADD_PLUGIN([skins2
])
PKG_CHECK_MODULES([XPM], [xpm
])
ALIASES="${ALIASES} svlc"
PKG_CHECK_MODULES([XEXT], [xext])
VLC_ADD_CPPFLAGS([skins2],[-Imodules/gui/skins2 ${X_CFLAGS} -DX11_SKINS])
VLC_ADD_CPPFLAGS([skins2],[-Imodules/gui/skins2 ${X_CFLAGS}
${XEXT_CFLAGS} {XPM_CFLAGS}
-DX11_SKINS])
VLC_ADD_CXXFLAGS([skins2],[-O2 -fno-rtti])
VLC_ADD_CXXFLAGS([skins2],[-O2 -fno-rtti])
VLC_ADD_LIBS([skins2],[${X_LIBS} ${X_PRE_LIBS}
-lXext -lXpm
-lX11])
VLC_ADD_LIBS([skins2],[${X_LIBS} ${X_PRE_LIBS}
${XEXT_LIBS} ${XPM_LIBS}
-lX11])
need_xid_provider="no"
need_xid_provider="no"
fi fi fi
fi
])
AM_CONDITIONAL(BUILD_SKINS, [test "${enable_skins2}" = "yes" ||
VLC_ADD_PLUGIN([skins2])
(test "${SYS}" != "darwin" &&
ALIASES="${ALIASES} svlc"
test "${SYS}" != "mingwce" && test "${enable_skins2}" != "no")])
])
AM_CONDITIONAL(BUILD_SKINS, [test "${enable_skins2}" = "yes"])
dnl
dnl
dnl Hildon UI
dnl Hildon UI
...
...
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