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
_______________________________________________
Autoconf mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/autoconf