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
c6b0b78d
Commit
c6b0b78d
authored
Apr 12, 2009
by
Felix Paul Kühne
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
configure: default disable the deprecated quicktime decoder plugin
Check for broken ld on Darwin 9 only
parent
3d9eb4d8
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
25 additions
and
25 deletions
+25
-25
configure.ac
configure.ac
+25
-25
No files found.
configure.ac
View file @
c6b0b78d
...
@@ -270,26 +270,6 @@ case "${host_os}" in
...
@@ -270,26 +270,6 @@ case "${host_os}" in
enable_xvideo="no"
enable_xvideo="no"
echo " Assuming --disable-xvideo"
echo " Assuming --disable-xvideo"
fi
fi
if test ".`uname -p`" = ".i386"; then
dnl Due to a ld(64) bug in 10.5 we cannot use our mmx code
dnl without hacking it a lot, we disable mmx and sse.
dnl (that bug is about ld being unable to handle
dnl text relocation)
save_cflags="$CFLAGS"
CFLAGS="$CFLAGS -dynamiclib -single_module -read_only_relocs suppress"
AC_TRY_LINK(
[int a;], [asm("movq _a,%mm0\n");],
ac_ld_does_not_support_text_reloc=no,
ac_ld_does_not_support_text_reloc=yes)
CFLAGS="$save_cflags"
if test "x$ac_ld_does_not_support_text_reloc" = "xyes"; then
enable_mmx="no"
echo " Assuming --disable-mmx (due to a bug in ld)"
enable_sse="no"
echo " Assuming --disable-sse (due to a bug in ld)"
fi
fi
dnl
dnl
dnl Check for Mac OS X SDK settings
dnl Check for Mac OS X SDK settings
dnl
dnl
...
@@ -317,6 +297,28 @@ case "${host_os}" in
...
@@ -317,6 +297,28 @@ case "${host_os}" in
export MACOSX_DEPLOYMENT_TARGET
export MACOSX_DEPLOYMENT_TARGET
fi
fi
;;
;;
darwin9*)
if (test ".`uname -p`" = ".i386"); then
dnl Due to a ld(64) bug in 10.5 we cannot use our mmx code
dnl without hacking it a lot, we disable mmx and sse.
dnl (that bug is about ld being unable to handle
dnl text relocation)
save_cflags="$CFLAGS"
CFLAGS="$CFLAGS -dynamiclib -single_module -read_only_relocs suppress"
AC_TRY_LINK(
[int a;], [asm("movq _a,%mm0\n");],
ac_ld_does_not_support_text_reloc=no,
ac_ld_does_not_support_text_reloc=yes)
CFLAGS="$save_cflags"
if test "x$ac_ld_does_not_support_text_reloc" = "xyes"; then
enable_mmx="no"
echo " Assuming --disable-mmx (due to a bug in ld)"
enable_sse="no"
echo " Assuming --disable-sse (due to a bug in ld)"
fi
fi
;;
*mingw32* | *cygwin* | *wince* | *mingwce* | *pe*)
*mingw32* | *cygwin* | *wince* | *mingwce* | *pe*)
AC_CHECK_TOOL(WINDRES, windres, :)
AC_CHECK_TOOL(WINDRES, windres, :)
AC_CHECK_TOOL(OBJCOPY, objcopy, :)
AC_CHECK_TOOL(OBJCOPY, objcopy, :)
...
@@ -3304,10 +3306,8 @@ dnl
...
@@ -3304,10 +3306,8 @@ dnl
dnl QuickTime plugin
dnl QuickTime plugin
dnl
dnl
AC_ARG_ENABLE(quicktime,
AC_ARG_ENABLE(quicktime,
[ --enable-quicktime QuickTime module (default enabled on MacOS X)])
[ --enable-quicktime QuickTime module (deprecated)])
if test "${enable_quicktime}" != "no" &&
if test "${enable_quicktime}" = "yes"; then
(test "${SYS}" = "darwin" || test "${enable_quicktime}" = "yes")
then
if test "${SYS}" = "mingw32"; then
if test "${SYS}" = "mingw32"; then
VLC_ADD_PLUGIN([quicktime])
VLC_ADD_PLUGIN([quicktime])
else
else
...
@@ -5150,9 +5150,9 @@ then
...
@@ -5150,9 +5150,9 @@ then
VLC_ADD_LDFLAGS([macosx minimal_macosx opengllayer qtcapture],[-Wl,-framework,Cocoa])
VLC_ADD_LDFLAGS([macosx minimal_macosx opengllayer qtcapture],[-Wl,-framework,Cocoa])
VLC_ADD_LDFLAGS([macosx minimal_macosx opengllayer],[-Wl,-framework,OpenGL])
VLC_ADD_LDFLAGS([macosx minimal_macosx opengllayer],[-Wl,-framework,OpenGL])
VLC_ADD_LDFLAGS([macosx minimal_macosx], [-Wl,-framework,Carbon])
VLC_ADD_LDFLAGS([macosx minimal_macosx], [-Wl,-framework,Carbon])
VLC_ADD_LDFLAGS([macosx minimal_macosx], [-Wl,-framework,CoreServices])
VLC_ADD_LDFLAGS([macosx minimal_macosx], [-Wl,-framework,AGL])
VLC_ADD_LDFLAGS([macosx minimal_macosx], [-Wl,-framework,AGL])
VLC_ADD_LDFLAGS([macosx], [-Wl,-framework,IOKit])
VLC_ADD_LDFLAGS([macosx], [-Wl,-framework,IOKit])
VLC_ADD_LDFLAGS([macosx], [-Wl,-framework,QuickTime])
dnl For bug report
dnl For bug report
VLC_ADD_LDFLAGS([macosx], [-Wl,-framework,AddressBook])
VLC_ADD_LDFLAGS([macosx], [-Wl,-framework,AddressBook])
VLC_ADD_LDFLAGS([macosx qtcapture], [-Wl,-framework,QTKit])
VLC_ADD_LDFLAGS([macosx qtcapture], [-Wl,-framework,QTKit])
...
...
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