[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
AC_CHECK_TYPE for socklen_t
From: |
Claudio Fontana |
Subject: |
AC_CHECK_TYPE for socklen_t |
Date: |
Fri, 10 Feb 2006 15:34:47 -0800 (PST) |
Hello,
my goal is to portably check for socklen_t in
configure.ac.
What I do now is:
AC_CHECK_TYPE([socklen_t],,[int], [
#ifdef HAVE_SYS_SOCKET_H
#include <sys/socket.h>
#endif
])
with prior header checks for sys/socket.h, and in the
code I use socklen_t.
Is this correct (and portable to most unices)?
Thanks
CLaudio
___________________________________
Yahoo! Mail: gratis 1GB per i messaggi e allegati da 10MB
http://mail.yahoo.it
- AC_CHECK_TYPE for socklen_t,
Claudio Fontana <=