Commit 1981aafc authored by Måns Rullgård's avatar Måns Rullgård
Browse files

rename shell variable _memalign to memalign

Originally committed as revision 7020 to svn://svn.ffmpeg.org/ffmpeg/trunk
parent 6194731a
...@@ -1298,15 +1298,15 @@ EOF ...@@ -1298,15 +1298,15 @@ EOF
# --- # ---
# check availability of some header files # check availability of some header files
_memalign=no memalign=no
malloc_h=no malloc_h=no
if check_header malloc.h; then if check_header malloc.h; then
malloc_h=yes malloc_h=yes
_memalign=yes memalign=yes
check_func memalign || _memalign="no" check_func memalign || memalign="no"
fi fi
if test "$_memalign" = "no" -a "$mmx" = "yes" -a \ if test "$memalign" = "no" -a "$mmx" = "yes" -a \
"$memalignhack" != "yes" -a "$targetos" != "Darwin" -a \ "$memalignhack" != "yes" -a "$targetos" != "Darwin" -a \
"$targetos" != "FreeBSD" ; then "$targetos" != "FreeBSD" ; then
die "Error, no memalign() but SSE enabled, disable it or use --enable-memalign-hack." die "Error, no memalign() but SSE enabled, disable it or use --enable-memalign-hack."
...@@ -2106,7 +2106,7 @@ else ...@@ -2106,7 +2106,7 @@ else
echo "#undef HAVE_MALLOC_H" >> $TMPH echo "#undef HAVE_MALLOC_H" >> $TMPH
fi fi
if test "$_memalign" = "yes" ; then if test "$memalign" = "yes" ; then
echo "#define HAVE_MEMALIGN 1" >> $TMPH echo "#define HAVE_MEMALIGN 1" >> $TMPH
else else
echo "#undef HAVE_MEMALIGN" >> $TMPH echo "#undef HAVE_MEMALIGN" >> $TMPH
......
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