diff options
author | Måns Rullgård <mans@mansr.com> | 2006-11-09 01:06:48 +0000 |
---|---|---|
committer | Måns Rullgård <mans@mansr.com> | 2006-11-09 01:06:48 +0000 |
commit | 47d23bbfe4c60e50b768d03ce955c51e69c7cec3 (patch) | |
tree | ab10e6d2237c4bd7fba95a78b25157bb5aaafc6b | |
parent | 95a07973cb43c43b6b03916ddb9d3af53bd205d8 (diff) | |
download | ffmpeg-47d23bbfe4c60e50b768d03ce955c51e69c7cec3.tar.gz |
check for byteswap.h
Originally committed as revision 6952 to svn://svn.ffmpeg.org/ffmpeg/trunk
-rwxr-xr-x | configure | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -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 |