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>) Originally committed as revision 1146 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
		
							parent
							
								
									3f95e8434b
								
							
						
					
					
						commit
						26b35efb3a
					
				
							
								
								
									
										10
									
								
								configure
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										10
									
								
								configure
									
									
									
									
										vendored
									
									
								
							@ -66,6 +66,7 @@ bigendian="no"
 | 
				
			|||||||
vhook="no"
 | 
					vhook="no"
 | 
				
			||||||
mpegaudio_hp="yes"
 | 
					mpegaudio_hp="yes"
 | 
				
			||||||
SHFLAGS=-shared
 | 
					SHFLAGS=-shared
 | 
				
			||||||
 | 
					netserver="no"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
# OS specific
 | 
					# OS specific
 | 
				
			||||||
targetos=`uname -s`
 | 
					targetos=`uname -s`
 | 
				
			||||||
@ -83,8 +84,8 @@ v4l="no"
 | 
				
			|||||||
if (echo $BEINCLUDES|grep 'headers/be/bone' >/dev/null); then
 | 
					if (echo $BEINCLUDES|grep 'headers/be/bone' >/dev/null); then
 | 
				
			||||||
extralibs="-lbind -lsocket"
 | 
					extralibs="-lbind -lsocket"
 | 
				
			||||||
else
 | 
					else
 | 
				
			||||||
echo "Not sure building for net_server will succeed... good luck."
 | 
					netserver="yes"
 | 
				
			||||||
extralibs="-lsocket"
 | 
					extralibs="-lnet"
 | 
				
			||||||
fi ;;
 | 
					fi ;;
 | 
				
			||||||
BSD/OS)
 | 
					BSD/OS)
 | 
				
			||||||
v4l="no"
 | 
					v4l="no"
 | 
				
			||||||
@ -579,6 +580,11 @@ else
 | 
				
			|||||||
  echo "#undef  HAVE_MEMALIGN" >> $TMPH
 | 
					  echo "#undef  HAVE_MEMALIGN" >> $TMPH
 | 
				
			||||||
fi
 | 
					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
 | 
					if test "$simpleidct" = "yes" ; then
 | 
				
			||||||
  echo "#define SIMPLE_IDCT 1" >> $TMPH
 | 
					  echo "#define SIMPLE_IDCT 1" >> $TMPH
 | 
				
			||||||
fi
 | 
					fi
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user