]> git.sesse.net Git - vlc/commitdiff
configure: remove MacOS hysterical raisins
authorRémi Denis-Courmont <remi@remlab.net>
Sat, 28 Sep 2013 15:22:50 +0000 (18:22 +0300)
committerFelix Paul Kühne <fkuehne@videolan.org>
Sun, 29 Sep 2013 12:50:39 +0000 (14:50 +0200)
Nothing uses $(LDFLAGS_plugin) anywhere.

configure.ac

index 3f6ab28d3070162a8fc7d0ec6f85e352d6f41637..5b82851fa94ef966ff794284c6f1fcb21295acc6 100644 (file)
@@ -1016,24 +1016,6 @@ VLC_RESTORE_FLAGS
 SYMBOLIC_LDFLAGS="${ac_cv_ld_bsymbolic}"
 AC_SUBST(SYMBOLIC_LDFLAGS)
 
-dnl Check for Darwin plugin linking flags
-AS_IF([test "${SYS}" = "darwin"], [
-  VLC_SAVE_FLAGS
-  CFLAGS="${CFLAGS} -bundle -undefined error"
-  AC_CACHE_CHECK([if $CC accepts -bundle -undefined error],
-    [ac_cv_ld_darwin], [
-    AC_COMPILE_IFELSE([AC_LANG_PROGRAM()], [
-      ac_cv_ld_darwin=yes
-    ], [
-      ac_cv_ld_darwin=no
-    ])
-  ])
-  AS_IF([test "${ac_cv_ld_darwin}" != "no"], [
-    VLC_ADD_LDFLAGS([plugin],[-bundle -undefined error])
-  ])
-  VLC_RESTORE_FLAGS
-])
-
 dnl Checks for __attribute__(aligned()) directive
 VLC_SAVE_FLAGS
 CFLAGS="${CFLAGS} -Werror"