From 26b35efb3a0d02a1ef6a8af804e6c59c1a190fa3 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Fran=C3=A7ois=20Revol?= Date: Sat, 2 Nov 2002 10:47:44 +0000 Subject: [PATCH] =?utf8?q?added=20BeOS=20net=5Fserver=20support=20(R5=20ne?= =?utf8?q?twork=20stack),=20basically=20the=20same=20problems=20as=20with?= =?utf8?q?=20winsock=20(sockets=20!=3D=20fd),=20and=20the=20broken=20selec?= =?utf8?q?t().=20based=20on=20older=20patch=20by=20Andrew=20Bachmann.=20pa?= =?utf8?q?tch=20by=20(Fran=C3=A7ois=20Revol=20)?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Originally committed as revision 1146 to svn://svn.ffmpeg.org/ffmpeg/trunk --- configure | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/configure b/configure index 84eb310..31964dc 100755 --- a/configure +++ b/configure @@ -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 -- 2.7.4