check for byteswap.h

Originally committed as revision 6952 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
Måns Rullgård 2006-11-09 01:06:48 +00:00
parent 95a07973cb
commit 47d23bbfe4

5
configure vendored
View File

@ -1296,6 +1296,8 @@ if test "$_memalign" = "no" -a "$mmx" = "yes" -a \
die "Error, no memalign() but SSE enabled, disable it or use --enable-memalign-hack."
fi
check_header byteswap.h && byteswap_h=yes || byteswap_h=no
check_func localtime_r && localtime_r=yes || localtime_r=no
enabled zlib && check_lib zlib.h zlibVersion -lz || zlib="no"
@ -2091,6 +2093,9 @@ if test "$memalignhack" = "yes" ; then
echo "#define MEMALIGN_HACK 1" >> $TMPH
fi
if test "$byteswap_h" = "yes"; then
echo "#define HAVE_BYTESWAP_H 1" >> $TMPH
fi
if test "$netserver" = "yes" ; then
echo "#define CONFIG_BEOS_NETSERVER 1" >> $TMPH