summaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2004-06-06 03:45:53 +0000
committerMichael Niedermayer <michaelni@gmx.at>2004-06-06 03:45:53 +0000
commitda9b170c6f06184a5114dc66afb8385cd0ffff83 (patch)
tree5c0001fa589306f13cbc36f69a71a6a617101f31 /configure
parent940aed50ed1b1920d5363fa63f7e2c5d6e823817 (diff)
optional and disabled by default memalign hack for SSE/SSE2 on that alternative OS
Originally committed as revision 3199 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure9
1 files changed, 9 insertions, 0 deletions
diff --git a/configure b/configure
index 43e9e87dbe..01d7d9ee61 100755
--- a/configure
+++ b/configure
@@ -62,6 +62,7 @@ echo " --disable-ffserver disable ffserver build"
echo " --disable-ffplay disable ffplay build"
echo " --disable-risky disables patent encumbered codecs"
echo " --enable-small optimize for size instead of speed"
+echo " --enable-memalign-hack emulate memalign, interferes with memory debuggers"
echo ""
echo "NOTE: The object files are build at the place where configure is launched"
exit 1
@@ -178,6 +179,7 @@ amr_nb_fixed="no"
sunmlib="no"
pthreads="no"
gpl="no"
+memalignhack="no"
# OS specific
targetos=`uname -s`
@@ -427,6 +429,8 @@ for opt do
;;
--enable-gpl) gpl="yes"
;;
+ --enable-memalign-hack) memalignhack="yes"
+ ;;
esac
done
@@ -1269,6 +1273,11 @@ else
echo "#undef HAVE_MEMALIGN" >> $TMPH
fi
+if test "$memalignhack" = "yes" ; then
+ echo "#define MEMALIGN_HACK 1" >> $TMPH
+fi
+
+
if test "$netserver" = "yes" ; then
echo "#define CONFIG_BEOS_NETSERVER 1" >> $TMPH
echo "CONFIG_BEOS_NETSERVER=yes" >> config.mak