Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
GSoC
GSoC2018
macOS
vlc
Commits
64439677
Commit
64439677
authored
Mar 19, 2002
by
Christophe Massiot
Browse files
MacOS X compile fixes.
parent
ac7973f4
Changes
2
Hide whitespace changes
Inline
Side-by-side
configure
View file @
64439677
...
...
@@ -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
...
...
configure.in
View file @
64439677
...
...
@@ -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
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment