[MPlayer-dev-eng] [PATCH] build: Check if SCTP is available

Johan Andersson j at i19.se
Sun May 13 17:16:37 CEST 2012


On Sun, May 13, 2012 at 02:52:49PM +0200, Reimar Döffinger wrote:
> On 13 May 2012, at 01:03, Alexander Strasser <eclipse7 at gmx.net> wrote:
> > +echocheck "SCTP"
> > +if test "$_sctp" = auto ; then
> > +cat > $TMPC << EOF
> > +#include <netinet/in.h>
> > +#include <netinet/sctp.h>
> > +#include <sys/time.h>
> > +#include <unistd.h>
> > +int main(void) { socket( AF_INET, SOCK_STREAM, IPPROTO_SCTP ); return 0; }
> 
> Can't you just do a check_header netinet/sctp.h ?

Yeah that should work too.

-- 
Johan Andersson


More information about the MPlayer-dev-eng mailing list