AC_CHECK_TYPE for socklen_t

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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
Autoconf@xxxxxxx
http://lists.gnu.org/mailman/listinfo/autoconf

[Index of Archives]     [GCC Help]     [Kernel Discussion]     [RPM Discussion]     [Red Hat Development]     [Yosemite News]     [Linux USB]     [Samba]

  Powered by Linux