Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
BC
public
external
ffmpeg
Commits
9bbd6a4c
Commit
9bbd6a4c
authored
May 24, 2011
by
Mans Rullgard
Browse files
configure: enable memalign_hack automatically when needed
Signed-off-by:
Mans Rullgard
<
mans@mansr.com
>
parent
a724ee62
Changes
1
Hide whitespace changes
Inline
Side-by-side
configure
View file @
9bbd6a4c
...
...
@@ -2823,11 +2823,6 @@ check_header X11/extensions/XvMClib.h
check_struct dxva2api.h DXVA_PictureParameters wDecodedPictureIndex
if
!
enabled_any memalign memalign_hack posix_memalign malloc_aligned
&&
enabled_any
$need_memalign
;
then
die
"Error, no aligned memory allocator but SSE enabled, disable it or use --enable-memalign-hack."
fi
disabled zlib
||
check_lib zlib.h zlibVersion
-lz
||
disable zlib
disabled bzlib
||
check_lib2 bzlib.h BZ2_bzlibVersion
-lbz2
||
disable bzlib
...
...
@@ -3091,6 +3086,9 @@ check_deps $CONFIG_LIST \
enabled asm
||
{
arch
=
c
;
disable
$ARCH_LIST
$ARCH_EXT_LIST
;
}
!
enabled_any memalign posix_memalign malloc_aligned
&&
enabled_any
$need_memalign
&&
enable
memalign_hack
echo
"install prefix
$prefix
"
echo
"source path
$source_path
"
echo
"C compiler
$cc
"
...
...
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