aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMåns Rullgård <mans@mansr.com>2006-11-09 01:06:48 +0000
committerMåns Rullgård <mans@mansr.com>2006-11-09 01:06:48 +0000
commit47d23bbfe4c60e50b768d03ce955c51e69c7cec3 (patch)
treeab10e6d2237c4bd7fba95a78b25157bb5aaafc6b
parent95a07973cb43c43b6b03916ddb9d3af53bd205d8 (diff)
downloadffmpeg-47d23bbfe4c60e50b768d03ce955c51e69c7cec3.tar.gz
check for byteswap.h
Originally committed as revision 6952 to svn://svn.ffmpeg.org/ffmpeg/trunk
-rwxr-xr-xconfigure5
1 files changed, 5 insertions, 0 deletions
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