aboutsummaryrefslogtreecommitdiffstats
path: root/erts/configure.in
diff options
context:
space:
mode:
authorRaimo Niskanen <[email protected]>2013-07-12 15:42:33 +0200
committerRaimo Niskanen <[email protected]>2013-07-17 10:20:18 +0200
commit41989072fdfa766916489088aa7eae48a7d89961 (patch)
tree3058f55bd5cb5bdb4fefa7c6ea5390eef2805cf0 /erts/configure.in
parent8cece79b77952c991e62ae595bcf71cde016a052 (diff)
downloadotp-41989072fdfa766916489088aa7eae48a7d89961.tar.gz
otp-41989072fdfa766916489088aa7eae48a7d89961.tar.bz2
otp-41989072fdfa766916489088aa7eae48a7d89961.zip
Implement emulator netns support for TCP and UDP
Diffstat (limited to 'erts/configure.in')
-rw-r--r--erts/configure.in4
1 files changed, 4 insertions, 0 deletions
diff --git a/erts/configure.in b/erts/configure.in
index b056ba44e2..236c7075f2 100644
--- a/erts/configure.in
+++ b/erts/configure.in
@@ -1663,6 +1663,10 @@ if test x"$ac_cv_header_netinet_sctp_h" = x"yes"; then
])
fi
+dnl Check for setns
+AC_CHECK_HEADERS(sched.h setns.h)
+AC_CHECK_FUNCS([setns])
+
HAVE_VALGRIND=no
AC_CHECK_HEADER(valgrind/valgrind.h, HAVE_VALGRIND=yes)
AC_SUBST(HAVE_VALGRIND)