summaryrefslogtreecommitdiff
path: root/legacy/eeze/configure.ac
diff options
context:
space:
mode:
authorMike Blumenkrantz <michael.blumenkrantz@gmail.com>2011-12-02 13:42:36 +0000
committerMike Blumenkrantz <michael.blumenkrantz@gmail.com>2011-12-02 13:42:36 +0000
commit573a9a5c5b9021e84267b34638770c13a99b4669 (patch)
tree9e1d3e6d04f69b2bdc2e5685751d6a17fb33ef12 /legacy/eeze/configure.ac
parent4797954c4d0f2de0ebeb4ab63aa527b534829316 (diff)
eeze 1.2 is now operational
SVN revision: 65809
Diffstat (limited to 'legacy/eeze/configure.ac')
-rw-r--r--legacy/eeze/configure.ac34
1 files changed, 34 insertions, 0 deletions
diff --git a/legacy/eeze/configure.ac b/legacy/eeze/configure.ac
index 228cdc65d4..a300a02d32 100644
--- a/legacy/eeze/configure.ac
+++ b/legacy/eeze/configure.ac
@@ -153,6 +153,38 @@ fi
153if test -z "$OLD_LIBMOUNT_TRUE" ; then 153if test -z "$OLD_LIBMOUNT_TRUE" ; then
154 AC_DEFINE_UNQUOTED([OLD_LIBMOUNT], [1], [using first version of libmount]) 154 AC_DEFINE_UNQUOTED([OLD_LIBMOUNT], [1], [using first version of libmount])
155fi 155fi
156
157AC_CHECK_HEADERS([netinet/in.h])
158want_ipv6="yes"
159have_ipv6="no"
160
161AC_ARG_ENABLE([ipv6],
162 [AC_HELP_STRING([--disable-ipv6],
163 [disable ipv6 functionality @<:@default=detect@:>@])],
164 [
165 if test "x${enableval}" = "xyes" ; then
166 want_ipv6="yes"
167 else
168 want_ipv6="no"
169 fi],
170 [want_ipv6="auto"])
171
172# Verify IPV6 availability in headers
173if test "x${want_ipv6}" != "xno" ; then
174 AC_CHECK_TYPES([struct ipv6_mreq],
175 [have_ipv6="yes"],
176 [have_ipv6="no"],
177 [[
178#ifdef HAVE_NETINET_IN_H
179# include <netinet/in.h>
180#endif
181 ]])
182fi
183
184if test "x${have_ipv6}" = "xyes" ; then
185 AC_DEFINE(HAVE_IPV6, 1, [Define if IPV6 is supported])
186fi
187
156### Checks for header files 188### Checks for header files
157 189
158 190
@@ -226,6 +258,8 @@ echo
226echo "Utilities..............:" 258echo "Utilities..............:"
227echo " eeze_scanner.........: ${have_eeze_scanner}" 259echo " eeze_scanner.........: ${have_eeze_scanner}"
228echo 260echo
261echo "IPv6...................: ${have_ipv6}"
262echo
229echo "Documentation..........: ${build_doc}" 263echo "Documentation..........: ${build_doc}"
230echo 264echo
231echo "Compilation............: make (or gmake)" 265echo "Compilation............: make (or gmake)"