From 53d3d2632a8a2e9baf59e42ff1be4f2498f193cd Mon Sep 17 00:00:00 2001 From: Arch Librarian Date: Mon, 20 Sep 2004 16:55:34 +0000 Subject: Made configure smarter about detecting the previous hp-... Author: doogie Date: 1999-12-11 06:33:02 GMT Made configure smarter about detecting the previous hp-ux fixes. --- buildlib/config.h.in | 15 ++++++++++++++- buildlib/netdb.h.in | 5 +++++ 2 files changed, 19 insertions(+), 1 deletion(-) create mode 100644 buildlib/netdb.h.in (limited to 'buildlib') diff --git a/buildlib/config.h.in b/buildlib/config.h.in index 689549e65..7e738af52 100644 --- a/buildlib/config.h.in +++ b/buildlib/config.h.in @@ -32,6 +32,20 @@ /* Define if we have enabled pthread support */ #undef HAVE_PTHREAD +/* Define if h_errno is in netdb.h */ +#undef HAVE_NETDB_H + +/* Define if socklen_t is in sys/socket.h This does not mean we + shouldn't include sys/socket.h tho! */ +#undef HAVE_SYS_SOCKET_H + +/* If there is no socklen_t, define this(might want to update + configure.in. */ +#undef NEED_SOCKLEN_T_DEFINE + +/* Define on HP-UX */ +#undef NEED_XOPEN_NETDB_H + /* Define the architecture name string */ #undef ARCHITECTURE @@ -40,4 +54,3 @@ /* The package name string */ #undef PACKAGE - diff --git a/buildlib/netdb.h.in b/buildlib/netdb.h.in new file mode 100644 index 000000000..1babd7657 --- /dev/null +++ b/buildlib/netdb.h.in @@ -0,0 +1,5 @@ +/* Fix broken(?) unixen. */ +#ifdef NEED_SOCKLEN_T_DEFINE + #define socklen_t size_t +#endif +#include_next -- cgit v1.2.3