[project @ 2002-10-19 10:42:23 by stolz]
authorstolz <unknown>
Sat, 19 Oct 2002 10:42:24 +0000 (10:42 +0000)
committerstolz <unknown>
Sat, 19 Oct 2002 10:42:24 +0000 (10:42 +0000)
Retro Police: There are hosts w/o in_addr_t (e.g. SuSE 7.0)

configure.in
mk/config.h.in

index 04a79c8..2c0518e 100644 (file)
@@ -1162,6 +1162,14 @@ case "$cv_func_usleep_return_type" in
 esac
 
 dnl --------------------------------------------------
+dnl * test for in_addr_t
+dnl --------------------------------------------------
+AC_MSG_CHECKING(for in_addr_t in netinet/in.h)
+AC_EGREP_HEADER(in_addr_t, netinet/in.h,
+ [ AC_DEFINE(HAVE_IN_ADDR_T) AC_MSG_RESULT(yes) ],
+ AC_MSG_RESULT(no))
+
+dnl --------------------------------------------------
 dnl * test for GTK+
 dnl --------------------------------------------------
 
index 7efbc2b..b776a11 100644 (file)
 /* Define if usleep returns void */
 #undef USLEEP_RETURNS_VOID
 
+/*Define if in_addr_t available */
+#undef HAVE_IN_ADDR_T
+
 /* Define if C compiler supports long long types */
 #undef HAVE_LONG_LONG