diff options
author | Xavier Leroy <xavier.leroy@inria.fr> | 1999-12-17 12:42:16 +0000 |
---|---|---|
committer | Xavier Leroy <xavier.leroy@inria.fr> | 1999-12-17 12:42:16 +0000 |
commit | d156379e68637759b2d1f452c8b8f24293b65c6f (patch) | |
tree | b59d081afd2f14ea594f16090a6db714c58a1f4b /configure | |
parent | 4b5ec6acdb630b56417fa176a43a044c546862df (diff) |
Tester le type socklen_t
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@2699 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -481,6 +481,11 @@ elif sh ./hasgot -lnsl -lsocket socket socketpair bind listen accept connect; th has_sockets=yes fi +if sh ./hasgot -i sys/socket.h -t socklen_t; then + echo "socklen_t is defined in <sys/socket.h>" + echo "#define HAS_SOCKLEN_T" >> s.h +fi + if sh ./hasgot -i unistd.h; then echo "unistd.h found." echo "#define HAS_UNISTD" >> s.h |