configure.ac: Look in the right place for `socklen_t'.
authorMark Wooding <mdw@distorted.org.uk>
Mon, 11 Jul 2016 08:47:12 +0000 (09:47 +0100)
committerMark Wooding <mdw@distorted.org.uk>
Mon, 11 Jul 2016 08:47:12 +0000 (09:47 +0100)
commit892da3f95f86d8c0dcf2d97b988b5583b1d5ca35
tree1b4ff89517118589c53c35a8acad1c2b2f78d0e6
parentea18ec52b9e2c43e2cae4ad6e030d78f06080637
configure.ac: Look in the right place for `socklen_t'.

The old-fashioned version of `AC_CHECK_TYPE' doesn't look in
<sys/socket.h>, which is the proper place.  Android doesn't appear to
define the type in the usual places where Autoconf looks.

So use the modern version of the check and look in <sys/socket.h>
explicitly.  This seems to fix the build on Android.
configure.ac