From 47d23bbfe4c60e50b768d03ce955c51e69c7cec3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?M=C3=A5ns=20Rullg=C3=A5rd?= Date: Thu, 9 Nov 2006 01:06:48 +0000 Subject: [PATCH] check for byteswap.h Originally committed as revision 6952 to svn://svn.ffmpeg.org/ffmpeg/trunk --- configure | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/configure b/configure index 22afe15c6b..37eea1183f 100755 --- a/configure +++ b/configure @@ -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