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
d4c99513
Commit
d4c99513
authored
Oct 23, 2012
by
Mans Rullgard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
configure: generalise 64-bit test
Signed-off-by:
Mans Rullgard
<
mans@mansr.com
>
parent
c44cef97
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
2 deletions
+9
-2
configure
configure
+9
-2
No files found.
configure
View file @
d4c99513
...
...
@@ -2668,13 +2668,20 @@ EOF
check_host_cflags
-std
=
c99
check_host_cflags
-Wall
check_64bit
(){
arch32
=
$1
arch64
=
$2
expr
=
$3
check_code cc
""
"int test[2*(
$expr
) - 1]"
&&
subarch
=
$arch64
||
subarch
=
$arch32
}
case
"
$arch
"
in
alpha|ia64|mips|parisc|sparc
)
spic
=
$shared
;;
x86
)
subarch
=
"x86_32"
check_code cc
""
"int test[(int)sizeof(char*) - 7]"
&&
subarch
=
"x86_64"
check_64bit x86_32 x86_64
'sizeof(void *) > 4'
if
test
"
$subarch
"
=
"x86_64"
;
then
spic
=
$shared
fi
...
...
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