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

Reimar Döffinger Reimar.Doeffinger at gmx.de
Sun May 13 14:52:49 CEST 2012


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 ?


More information about the MPlayer-dev-eng mailing list