You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-08-15 14:13:16 +02:00
rename shell variable _memalign to memalign
Originally committed as revision 7020 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
10
configure
vendored
10
configure
vendored
@@ -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
|
|||||||
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
|
||||||
|
Reference in New Issue
Block a user