Commit 64439677 authored by Christophe Massiot's avatar Christophe Massiot

MacOS X compile fixes.

parent ac7973f4
...@@ -5129,12 +5129,12 @@ if test x"$ac_cv_c_omit_frame_pointer" != x"no"; then ...@@ -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" CFLAGS_OPTIM_NODEBUG="${CFLAGS_OPTIM_NODEBUG} -fomit-frame-pointer"
fi fi
echo $ac_n "checking if \$CC accepts -bundle -undefined error""... $ac_c" 1>&6 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" >&5 echo "configure:5134: checking if \$CC accepts -bundle -undefined error -lcc_dynamic" >&5
if eval "test \"`echo '$''{'ac_cv_ld_darwin'+set}'`\" = set"; then if eval "test \"`echo '$''{'ac_cv_ld_darwin'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6 echo $ac_n "(cached) $ac_c" 1>&6
else else
CFLAGS="${save_CFLAGS} -bundle -undefined error" CFLAGS="${save_CFLAGS} -bundle -undefined error -lcc_dynamic"
cat > conftest.$ac_ext <<EOF cat > conftest.$ac_ext <<EOF
#line 5140 "configure" #line 5140 "configure"
#include "confdefs.h" #include "confdefs.h"
...@@ -5157,7 +5157,7 @@ fi ...@@ -5157,7 +5157,7 @@ fi
echo "$ac_t""$ac_cv_ld_darwin" 1>&6 echo "$ac_t""$ac_cv_ld_darwin" 1>&6
if test x"$ac_cv_ld_darwin" != x"no"; then if test x"$ac_cv_ld_darwin" != x"no"; then
PLDFLAGS="${PLDFLAGS} -bundle -undefined error" PLDFLAGS="${PLDFLAGS} -bundle -undefined error -lcc_dynamic"
fi fi
echo $ac_n "checking if \$CC accepts -shared""... $ac_c" 1>&6 echo $ac_n "checking if \$CC accepts -shared""... $ac_c" 1>&6
...@@ -6390,7 +6390,7 @@ rm -f conftest* ...@@ -6390,7 +6390,7 @@ rm -f conftest*
if test "x${SYS}" = "xdarwin" if test "x${SYS}" = "xdarwin"
then then
PLUGINS="${PLUGINS} vcd" PLUGINS="${PLUGINS} vcd"
LIB_VCD="${LIB_VCD} -framework IOKit" LIB_VCD="${LIB_VCD} -framework IOKit -framework CoreFoundation"
fi fi
fi fi
......
...@@ -282,12 +282,12 @@ if test x"$ac_cv_c_omit_frame_pointer" != x"no"; then ...@@ -282,12 +282,12 @@ if test x"$ac_cv_c_omit_frame_pointer" != x"no"; then
fi fi
dnl Check for Darwin plugin linking flags 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], [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)]) AC_TRY_COMPILE([],,ac_cv_ld_darwin=yes, ac_cv_ld_darwin=no)])
if test x"$ac_cv_ld_darwin" != x"no"; then if test x"$ac_cv_ld_darwin" != x"no"; then
PLDFLAGS="${PLDFLAGS} -bundle -undefined error" PLDFLAGS="${PLDFLAGS} -bundle -undefined error -lcc_dynamic"
fi fi
dnl Check for standard plugin linking flags dnl Check for standard plugin linking flags
...@@ -823,7 +823,7 @@ then ...@@ -823,7 +823,7 @@ then
if test "x${SYS}" = "xdarwin" if test "x${SYS}" = "xdarwin"
then then
PLUGINS="${PLUGINS} vcd" PLUGINS="${PLUGINS} vcd"
LIB_VCD="${LIB_VCD} -framework IOKit" LIB_VCD="${LIB_VCD} -framework IOKit -framework CoreFoundation"
fi fi
fi fi
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment