aboutsummaryrefslogtreecommitdiff
path: root/nxcomp/configure.ac
diff options
context:
space:
mode:
Diffstat (limited to 'nxcomp/configure.ac')
-rw-r--r--nxcomp/configure.ac10
1 files changed, 1 insertions, 9 deletions
diff --git a/nxcomp/configure.ac b/nxcomp/configure.ac
index 9d44a6991..42407c6fd 100644
--- a/nxcomp/configure.ac
+++ b/nxcomp/configure.ac
@@ -63,16 +63,8 @@ if test "$FreeBSD" = yes; then
CPPFLAGS="$CPPFLAGS -I/usr/local/include"
fi
-NX_HAS_INADDRT
-
# If in_addr_t is not defined use unsigned int.
-
-if test "$INADDRT" != yes ; then
- echo -e "using unsigned int for type in_addr_t"
- CPPFLAGS="$CPPFLAGS -DIN_ADDR_T=unsigned"
-else
- CPPFLAGS="$CPPFLAGS -DIN_ADDR_T=in_addr_t"
-fi
+AC_CHECK_TYPES([in_addr_t], [], [], [[#include <netinet/in.h>]])
AC_ARG_ENABLE(info,
[AS_HELP_STRING([--enable-debug], [enable to get info session log output (disabled by default)])],