aboutsummaryrefslogtreecommitdiff
path: root/m4
diff options
context:
space:
mode:
authorMike Gabriel <mike.gabriel@das-netzwerkteam.de>2017-07-24 12:32:18 +0200
committerMike Gabriel <mike.gabriel@das-netzwerkteam.de>2017-07-26 10:12:43 +0200
commit9c8e3f13985cc6f61a1c140612b3be524af868f6 (patch)
tree70dedce177a325ddec4f634a31c53e4ff14083ba /m4
parent9fa0a6b954e3893f81aff1851c8e363eb0ccb98b (diff)
downloadnx-libs-9c8e3f13985cc6f61a1c140612b3be524af868f6.tar.gz
nx-libs-9c8e3f13985cc6f61a1c140612b3be524af868f6.tar.bz2
nx-libs-9c8e3f13985cc6f61a1c140612b3be524af868f6.zip
nxcomp/configure.ac,m4/nx-macros.m4,nxcomp/src/Socket.h: Use AC_CHECK_TYPES to detect if type 'in_addr_t' is available.
Diffstat (limited to 'm4')
-rw-r--r--m4/nx-macros.m49
1 files changed, 0 insertions, 9 deletions
diff --git a/m4/nx-macros.m4 b/m4/nx-macros.m4
index a878602e7..816bf4003 100644
--- a/m4/nx-macros.m4
+++ b/m4/nx-macros.m4
@@ -303,12 +303,3 @@ rm -f conftest*])
FreeBSD=
test "$nxconf_cv_freebsd" = yes && FreeBSD=yes
]) # NX_BUILD_ON_FreeBSD
-
-AC_DEFUN([NX_HAS_INADDRT],
-[AC_CACHE_CHECK(for in_addr_t, nx_cv_inaddrt,
-[AC_TRY_COMPILE([#include <netinet/in.h>],[in_addr_t t; t = 1; return t;],
-nx_cv_inaddrt=yes, nx_cv_inaddrt=no)
-rm -f conftest*])
-INADDRT=
-test "$nx_cv_inaddrt" = yes && INADDRT=yes
-]) # NX_HAS_INADDRT