Commit 0fdcd4ab authored by michael's avatar michael

fail if SSE && !memalign && !memalign_hack


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@3450 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent f81390d1
...@@ -760,6 +760,11 @@ EOF ...@@ -760,6 +760,11 @@ EOF
$cc -o $TMPE $TMPC 2> /dev/null || _memalign=no $cc -o $TMPE $TMPC 2> /dev/null || _memalign=no
fi fi
if test "$_memalign" = "no" -a "$mmx" = "yes" -a "$memalignhack" != "yes"; then
echo "error, no memalign() but sse enabled, either disable it or use --enable-memalign-hack"
exit 1
fi
cat > $TMPC << EOF cat > $TMPC << EOF
#include <time.h> #include <time.h>
int main( void ) { localtime_r(NULL, NULL); } int main( void ) { localtime_r(NULL, NULL); }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment