configure: Check for a sctp struct instead of just the header
authorMichael Niedermayer <michaelni@gmx.at>
Wed, 8 Aug 2012 14:01:01 +0000 (16:01 +0200)
committerMartin Storsjö <martin@martin.st>
Thu, 9 Aug 2012 19:22:38 +0000 (22:22 +0300)
commit83c93fe74af013a1c376a39ee28759c89c483542
tree52312b21b94e7d1855a3337381c9ce409530368a
parentc72f12cbae93671cbd390eb51ce62573b443bf6c
configure: Check for a sctp struct instead of just the header

This fixes build failures on debian/kfreebsd, which has the
sctp.h header, but it is currently broken (a cpp test succeeds,
but a compile test fails), see http://bugs.debian.org/684330 for
details.

Also remove the checked item from HAVE_LIST, since the corresponding
HAVE_* define isn't used by the source code.

Signed-off-by: Martin Storsjö <martin@martin.st>
configure