aboutsummaryrefslogtreecommitdiffstats
path: root/configure.ac
diff options
context:
space:
mode:
authorGustavo Sverzut Barbieri <barbieri@gmail.com>2012-12-06 00:21:03 +0000
committerGustavo Sverzut Barbieri <barbieri@gmail.com>2012-12-06 00:21:03 +0000
commitd69c4b6208df9dc50c579f926972eb1f34dd4d6c (patch)
tree593818b99badcb2f2a6d109009121c223413aa21 /configure.ac
parentefl: both eet and ecore_con now share --with-crypto and defines. (diff)
downloadefl-d69c4b6208df9dc50c579f926972eb1f34dd4d6c.tar.gz
efl: ipv6 is always enabled if detected in the platform.
SVN revision: 80289
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac30
1 files changed, 8 insertions, 22 deletions
diff --git a/configure.ac b/configure.ac
index 49ac157969..7065bd8569 100644
--- a/configure.ac
+++ b/configure.ac
@@ -2148,17 +2148,6 @@ AC_MSG_NOTICE([Ecore_Con checks])
### Additional options to configure
-AC_ARG_ENABLE([ipv6],
- [AC_HELP_STRING([--disable-ipv6],
- [disable ipv6 functionality @<:@default=detect@:>@])],
- [
- if test "x${enableval}" = "xyes" ; then
- want_ipv6="yes"
- else
- want_ipv6="no"
- fi],
- [want_ipv6="auto"])
-
AC_ARG_ENABLE([curl],
[AC_HELP_STRING([--disable-curl], [disable curl support. @<:@default=enabled@:>@])],
[
@@ -2336,24 +2325,21 @@ fi
### Checks for types
have_ipv6="no"
-if test "x${want_ipv6}" != "xno" ; then
- AC_CHECK_TYPES([struct ipv6_mreq],
- [have_ipv6="yes"],
- [have_ipv6="no"],
- [[
+AC_CHECK_TYPES([struct ipv6_mreq],
+ [have_ipv6="yes"],
+ [have_ipv6="no"],
+ [[
#ifdef HAVE_NETINET_IN_H
# include <netinet/in.h>
#endif
#ifdef HAVE_WS2TCPIP_H
# include <ws2tcpip.h>
#endif
- ]])
-fi
-
-if test "x${have_ipv6}" = "xyes" ; then
- AC_DEFINE([HAVE_IPV6], 1, [Define if IPV6 is supported])
-fi
+]])
+AC_DEFINE_IF([HAVE_IPV6],
+ [test "x${have_ipv6}" = "xyes"],
+ [1], [Define if IPV6 is supported])
AM_CONDITIONAL([HAVE_IPV6], [test "x${have_ipv6}" = "xyes"])
### Checks for structures