Commit 16869b44 authored by mru's avatar mru

rename shell variable _memalign to memalign


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@7020 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent 5b22bc2f
...@@ -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