diff options
author | Ito Hiroyuki <ZXB01226@nifty.com> | 2010-08-10 10:16:57 +0000 |
---|---|---|
committer | Ito Hiroyuki <ZXB01226@nifty.com> | 2010-08-10 10:16:57 +0000 |
commit | 88b4721025bdf1f0910b2eaa66f2066e8752b0a6 (patch) | |
tree | c0ea3a28199ada4b2c87e2457ebeb92247c3edb5 /configure.ac | |
parent | *** empty log message *** (diff) | |
download | w3m-88b4721025bdf1f0910b2eaa66f2066e8752b0a6.tar.gz w3m-88b4721025bdf1f0910b2eaa66f2066e8752b0a6.zip |
[w3m-dev 04379] check socklen_t
Diffstat (limited to '')
-rw-r--r-- | configure.ac | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac index 83ddc34..7792a07 100644 --- a/configure.ac +++ b/configure.ac @@ -107,6 +107,11 @@ AC_W3M_TERMLIB AC_W3M_GC AC_CHECK_LIB(z, zError, [AUXBIN_TARGETS="$AUXBIN_TARGETS inflate\$(EXT)"]) +AC_CHECK_TYPE([socklen_t], + [AC_DEFINE(HAVE_SOCKLEN_T)], , + [#include <sys/types.h> + #include <sys/socket.h>]) + AC_DEFINE(AUXBIN_TARGETS, "$AUXBIN_TARGETS") AC_SUBST(USE_BINMODE_STREAM) |