[vlc-devel] [PATCH] configure: remove MacOS hysterical raisins

Rémi Denis-Courmont remi at remlab.net
Sat Sep 28 17:22:50 CEST 2013


Nothing uses $(LDFLAGS_plugin) anywhere.
---
 configure.ac | 18 ------------------
 1 file changed, 18 deletions(-)

diff --git a/configure.ac b/configure.ac
index 3f6ab28..5b82851 100644
--- a/configure.ac
+++ b/configure.ac
@@ -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"
-- 
1.8.4.rc3




More information about the vlc-devel mailing list