Commit 3127a4bd authored by michaelni's avatar michaelni

added BeOS net_server support (R5 network stack), basically the same

problems as with winsock (sockets != fd), and the broken select().
based on older patch by Andrew Bachmann.
patch by (François Revol <revol at free dot fr>)


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@1146 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent b1c8c18f
......@@ -66,6 +66,7 @@ bigendian="no"
vhook="no"
mpegaudio_hp="yes"
SHFLAGS=-shared
netserver="no"
# OS specific
targetos=`uname -s`
......@@ -83,8 +84,8 @@ v4l="no"
if (echo $BEINCLUDES|grep 'headers/be/bone' >/dev/null); then
extralibs="-lbind -lsocket"
else
echo "Not sure building for net_server will succeed... good luck."
extralibs="-lsocket"
netserver="yes"
extralibs="-lnet"
fi ;;
BSD/OS)
v4l="no"
......@@ -579,6 +580,11 @@ else
echo "#undef HAVE_MEMALIGN" >> $TMPH
fi
if test "$netserver" = "yes" ; then
echo "#define CONFIG_BEOS_NETSERVER 1" >> $TMPH
echo "CONFIG_BEOS_NETSERVER=yes" >> config.mak
fi
if test "$simpleidct" = "yes" ; then
echo "#define SIMPLE_IDCT 1" >> $TMPH
fi
......
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