]> git.sesse.net Git - vlc/commitdiff
MacOS X compile fixes.
authorChristophe Massiot <massiot@videolan.org>
Tue, 19 Mar 2002 00:12:26 +0000 (00:12 +0000)
committerChristophe Massiot <massiot@videolan.org>
Tue, 19 Mar 2002 00:12:26 +0000 (00:12 +0000)
configure
configure.in

index 84f8671995ed9e7e8a61a6a14255444f1975e0d1..44e643604a21c63f6ec9fd1bb1837d7f6a06d360 100755 (executable)
--- a/configure
+++ b/configure
@@ -5129,12 +5129,12 @@ if test x"$ac_cv_c_omit_frame_pointer" != x"no"; then
     CFLAGS_OPTIM_NODEBUG="${CFLAGS_OPTIM_NODEBUG} -fomit-frame-pointer"
 fi
 
-echo $ac_n "checking if \$CC accepts -bundle -undefined error""... $ac_c" 1>&6
-echo "configure:5134: checking if \$CC accepts -bundle -undefined error" >&5
+echo $ac_n "checking if \$CC accepts -bundle -undefined error -lcc_dynamic""... $ac_c" 1>&6
+echo "configure:5134: checking if \$CC accepts -bundle -undefined error -lcc_dynamic" >&5
 if eval "test \"`echo '$''{'ac_cv_ld_darwin'+set}'`\" = set"; then
   echo $ac_n "(cached) $ac_c" 1>&6
 else
-  CFLAGS="${save_CFLAGS} -bundle -undefined error"
+  CFLAGS="${save_CFLAGS} -bundle -undefined error -lcc_dynamic"
      cat > conftest.$ac_ext <<EOF
 #line 5140 "configure"
 #include "confdefs.h"
@@ -5157,7 +5157,7 @@ fi
 
 echo "$ac_t""$ac_cv_ld_darwin" 1>&6
 if test x"$ac_cv_ld_darwin" != x"no"; then
-    PLDFLAGS="${PLDFLAGS} -bundle -undefined error"
+    PLDFLAGS="${PLDFLAGS} -bundle -undefined error -lcc_dynamic"
 fi
 
 echo $ac_n "checking if \$CC accepts -shared""... $ac_c" 1>&6
@@ -6390,7 +6390,7 @@ rm -f conftest*
   if test "x${SYS}" = "xdarwin"
   then
     PLUGINS="${PLUGINS} vcd"
-    LIB_VCD="${LIB_VCD} -framework IOKit" 
+    LIB_VCD="${LIB_VCD} -framework IOKit -framework CoreFoundation
   fi
 fi
 
index 4b415eb8221739d0dc492eb0924c58b71237d5fd..ff7baf4279375d792aae0cfc2b0df26fc829f802 100644 (file)
@@ -282,12 +282,12 @@ if test x"$ac_cv_c_omit_frame_pointer" != x"no"; then
 fi
 
 dnl Check for Darwin plugin linking flags
-AC_CACHE_CHECK([if \$CC accepts -bundle -undefined error],
+AC_CACHE_CHECK([if \$CC accepts -bundle -undefined error -lcc_dynamic],
     [ac_cv_ld_darwin],
-    [CFLAGS="${save_CFLAGS} -bundle -undefined error"
+    [CFLAGS="${save_CFLAGS} -bundle -undefined error -lcc_dynamic"
      AC_TRY_COMPILE([],,ac_cv_ld_darwin=yes, ac_cv_ld_darwin=no)])
 if test x"$ac_cv_ld_darwin" != x"no"; then
-    PLDFLAGS="${PLDFLAGS} -bundle -undefined error"
+    PLDFLAGS="${PLDFLAGS} -bundle -undefined error -lcc_dynamic"
 fi
 
 dnl Check for standard plugin linking flags
@@ -823,7 +823,7 @@ then
   if test "x${SYS}" = "xdarwin"
   then
     PLUGINS="${PLUGINS} vcd"
-    LIB_VCD="${LIB_VCD} -framework IOKit" 
+    LIB_VCD="${LIB_VCD} -framework IOKit -framework CoreFoundation
   fi
 fi