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>)
Originally committed as revision 1146 to svn://svn.ffmpeg.org/ffmpeg/trunk
vhook="no"
mpegaudio_hp="yes"
SHFLAGS=-shared
+netserver="no"
# OS specific
targetos=`uname -s`
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"
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