Commit c5e37ed6 authored by mru's avatar mru

check for byteswap.h


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@6952 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent 20c66289
...@@ -1296,6 +1296,8 @@ if test "$_memalign" = "no" -a "$mmx" = "yes" -a \ ...@@ -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." die "Error, no memalign() but SSE enabled, disable it or use --enable-memalign-hack."
fi fi
check_header byteswap.h && byteswap_h=yes || byteswap_h=no
check_func localtime_r && localtime_r=yes || localtime_r=no check_func localtime_r && localtime_r=yes || localtime_r=no
enabled zlib && check_lib zlib.h zlibVersion -lz || zlib="no" enabled zlib && check_lib zlib.h zlibVersion -lz || zlib="no"
...@@ -2091,6 +2093,9 @@ if test "$memalignhack" = "yes" ; then ...@@ -2091,6 +2093,9 @@ if test "$memalignhack" = "yes" ; then
echo "#define MEMALIGN_HACK 1" >> $TMPH echo "#define MEMALIGN_HACK 1" >> $TMPH
fi fi
if test "$byteswap_h" = "yes"; then
echo "#define HAVE_BYTESWAP_H 1" >> $TMPH
fi
if test "$netserver" = "yes" ; then if test "$netserver" = "yes" ; then
echo "#define CONFIG_BEOS_NETSERVER 1" >> $TMPH echo "#define CONFIG_BEOS_NETSERVER 1" >> $TMPH
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment