Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
F
ffmpeg.wasm-core
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Linshizhi
ffmpeg.wasm-core
Commits
b797f3c4
Commit
b797f3c4
authored
Sep 04, 2012
by
Mans Rullgard
Committed by
Martin Storsjö
Sep 05, 2012
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
configure: add section for libc-specific hacks
Signed-off-by:
Martin Storsjö
<
martin@martin.st
>
parent
a3222470
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
20 additions
and
3 deletions
+20
-3
configure
configure
+20
-3
No files found.
configure
View file @
b797f3c4
...
...
@@ -2710,9 +2710,6 @@ case $target_os in
ranlib
=
:
enable
dos_paths
check_cflags
-fno-common
check_cpp_condition _mingw.h
"defined (__MINGW64_VERSION_MAJOR) || (__MINGW32_MAJOR_VERSION > 3)
\
|| (__MINGW32_MAJOR_VERSION == 3 && __MINGW32_MINOR_VERSION >= 15)"
||
die
"ERROR: MinGW runtime version must be >= 3.15."
add_cppflags
-U__STRICT_ANSI__
;;
cygwin
*
)
...
...
@@ -2797,6 +2794,26 @@ case $target_os in
;;
esac
# determine libc flavour
if
check_cpp_condition features.h
"defined __UCLIBC__"
;
then
libc_type
=
uclibc
elif
check_cpp_condition features.h
"defined __GLIBC__"
;
then
libc_type
=
glibc
elif
check_header _mingw.h
;
then
libc_type
=
mingw
check_cpp_condition _mingw.h
\
"defined (__MINGW64_VERSION_MAJOR) || (__MINGW32_MAJOR_VERSION > 3) ||
\
(__MINGW32_MAJOR_VERSION == 3 && __MINGW32_MINOR_VERSION >= 15)"
||
die
"ERROR: MinGW runtime version must be >= 3.15."
elif
check_cpp_condition newlib.h
"defined _NEWLIB_VERSION"
;
then
libc_type
=
newlib
elif
check_cpp_condition stddef.h
"defined __KLIBC__"
;
then
libc_type
=
klibc
fi
test
-n
"
$libc_type
"
&&
enable
$libc_type
esc
(){
echo
"
$*
"
|
sed
's/%/%25/g;s/:/%3a/g'
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a 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