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
71a49fe2
Commit
71a49fe2
authored
Jan 20, 2017
by
Diego Biurrun
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
configure: Use cppflags check helper functions where appropriate
parent
0ce3761c
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
10 deletions
+4
-10
configure
configure
+4
-10
No files found.
configure
View file @
71a49fe2
...
...
@@ -3774,18 +3774,12 @@ add_cppflags -D_ISOC99_SOURCE
# some compilers silently accept -std=c11, so we also need to check that the
# version macro is defined properly
if
test_cflags_cpp
-std
=
c11
"__STDC_VERSION__ >= 201112L"
;
then
add_cflags
-std
=
c11
else
check_cpp_condition stdlib.h
"__STDC_VERSION__ >= 201112L"
-std
=
c11
&&
add_cflags
-std
=
c11
||
check_cflags
-std
=
c99
fi
check_cc
-D_FILE_OFFSET_BITS
=
64
<<
EOF
&& add_cppflags -D_FILE_OFFSET_BITS=64
#include <stdlib.h>
EOF
check_cc
-D_LARGEFILE_SOURCE
<<
EOF
&& add_cppflags -D_LARGEFILE_SOURCE
#include <stdlib.h>
EOF
check_cppflags
-D_FILE_OFFSET_BITS
=
64
check_cppflags
-D_LARGEFILE_SOURCE
add_host_cppflags
-D_ISOC99_SOURCE
check_host_cflags
-std
=
c99
...
...
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