summaryrefslogtreecommitdiffstats
path: root/configure.ac
diff options
context:
space:
mode:
authorJay Sorg <jay.sorg@gmail.com>2013-04-03 00:54:52 -0700
committerJay Sorg <jay.sorg@gmail.com>2013-04-03 00:54:52 -0700
commit54463affafd73608b4065794d26d8edd705fb4ca (patch)
tree5be6090392b075458f78c5767f5a5c01d5d18d9b /configure.ac
parent8b71f48f7bbf65ce6b5330a42bb71d2bd0ec45ee (diff)
downloadxrdp-proprietary-54463affafd73608b4065794d26d8edd705fb4ca.tar.gz
xrdp-proprietary-54463affafd73608b4065794d26d8edd705fb4ca.zip
autodetect ipv6
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac5
1 files changed, 5 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index d4315133..115c3aa6 100644
--- a/configure.ac
+++ b/configure.ac
@@ -69,6 +69,11 @@ then
fi
fi
+AC_CHECK_MEMBER([struct in6_addr.s6_addr],
+ [],
+ [AC_DEFINE(NO_ARPA_INET_H_IP6, 1, [for IPv6])],
+ [#include <arpa/inet.h>])
+
if test "x$enable_nopam" = "xyes"
then
AC_DEFINE([USE_NOPAM],1,[Disable PAM])