[vlc-devel] commit: Remove obsolete Mac OS X 10.5 tweak. (Daniel Mierswa )

git version control git at videolan.org
Sun Feb 7 10:02:25 CET 2010


vlc | branch: master | Daniel Mierswa <impulze at impulze.org> | Sun Feb  7 00:43:08 2010 +0100| [44c710454e61c81ec8674d84786f9d52b6dcc50b] | committer: Rémi Denis-Courmont 

Remove obsolete Mac OS X 10.5 tweak.

This is obsolete according to IRC conversation. But I also think it got
never really executed, code like "case foo in fo*) a ;; foo*) b ;; esac"
would never lead to b in the shells i've tested.

Signed-off-by: Daniel Mierswa <impulze at impulze.org>
Signed-off-by: Rémi Denis-Courmont <remi at remlab.net>

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=44c710454e61c81ec8674d84786f9d52b6dcc50b
---

 configure.ac |   22 ----------------------
 1 files changed, 0 insertions(+), 22 deletions(-)

diff --git a/configure.ac b/configure.ac
index dd35c38..f3221bc 100644
--- a/configure.ac
+++ b/configure.ac
@@ -276,28 +276,6 @@ case "${host_os}" in
         export MACOSX_DEPLOYMENT_TARGET
     fi
     ;;
-  darwin9*)
-    if test "${host_cpu}" = "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*)
     AC_CHECK_TOOL(WINDRES, windres, :)
     AC_CHECK_TOOL(OBJCOPY, objcopy, :)




More information about the vlc-devel mailing list