diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2004-09-10 19:39:17 +0000 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2004-09-10 19:39:17 +0000 |
commit | 8bf5d58f86e98f2df61b9ac6d0d945a1c04ece38 (patch) | |
tree | 2e61c12d7093b9837280104a17107957a8d1b3ea | |
parent | c32b14bb9c1c5baec0bd571e1bb6767e9f052aff (diff) | |
download | ffmpeg-8bf5d58f86e98f2df61b9ac6d0d945a1c04ece38.tar.gz |
fail if SSE && !memalign && !memalign_hack
Originally committed as revision 3450 to svn://svn.ffmpeg.org/ffmpeg/trunk
-rwxr-xr-x | configure | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -760,6 +760,11 @@ EOF $cc -o $TMPE $TMPC 2> /dev/null || _memalign=no 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 #include <time.h> int main( void ) { localtime_r(NULL, NULL); } |