summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorGustavo Sverzut Barbieri <barbieri@gmail.com>2012-12-06 00:35:14 +0000
committerGustavo Sverzut Barbieri <barbieri@gmail.com>2012-12-06 00:35:14 +0000
commit5575c36c4e267662e3e19f61bcc54cde7b57f519 (patch)
tree48a6071ff0820ef9674b9e883d8c5e0605577721 /configure.ac
parent2731721d50c7a544cb9672d3ab5738cccecfcb58 (diff)
efl: local and abstract sockets are platform dependent, not an option.
SVN revision: 80291
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac38
1 files changed, 9 insertions, 29 deletions
diff --git a/configure.ac b/configure.ac
index 16096e3..3c96929 100644
--- a/configure.ac
+++ b/configure.ac
@@ -2141,30 +2141,10 @@ AC_ARG_ENABLE([curl],
2141 ], 2141 ],
2142 [want_curl="yes"]) 2142 [want_curl="yes"])
2143 2143
2144AC_ARG_ENABLE([local-sockets],
2145 [AC_HELP_STRING([--disable-local-sockets], [disable local sockets.])],
2146 [
2147 if test "x${enableval}" = "xyes" ; then
2148 want_ecore_con_local_sockets="yes"
2149 else
2150 want_ecore_con_local_sockets="no"
2151 fi
2152 ],
2153 [want_ecore_con_local_sockets="yes"])
2154
2155AC_ARG_ENABLE([abstract-sockets],
2156 [AC_HELP_STRING([--disable-abstract-sockets], [disable abstract sockets.])],
2157 [
2158 if test "x${enableval}" = "xyes" ; then
2159 want_ecore_con_abstract_sockets="yes"
2160 else
2161 want_ecore_con_abstract_sockets="no"
2162 fi
2163 ],
2164 [want_ecore_con_abstract_sockets="yes"])
2165
2166### Default values 2144### Default values
2167 2145
2146want_ecore_con_local_sockets="yes"
2147want_ecore_con_abstract_sockets="yes"
2168 2148
2169case "$host_os" in 2149case "$host_os" in
2170 mingw32ce*) 2150 mingw32ce*)
@@ -2188,16 +2168,16 @@ esac
2188case "$host_vendor" in 2168case "$host_vendor" in
2189 ps3*) 2169 ps3*)
2190 want_ecore_con_local_sockets="no" 2170 want_ecore_con_local_sockets="no"
2171 want_ecore_con_abstract_sockets="no"
2191 ;; 2172 ;;
2192esac 2173esac
2193 2174
2194if test "x${want_ecore_con_local_sockets}" = "xyes" ; then 2175AC_DEFINE_IF([HAVE_LOCAL_SOCKETS],
2195 AC_DEFINE([HAVE_LOCAL_SOCKETS], [1], [Have local sockets support]) 2176 [test "x${want_ecore_con_local_sockets}" = "xyes"],
2196fi 2177 [1], [Have local sockets support])
2197 2178AC_DEFINE_IF([HAVE_ABSTRACT_SOCKETS],
2198if test "x${want_ecore_con_abstract_sockets}" = "xyes" ; then 2179 [test "x${want_ecore_con_abstract_sockets}" = "xyes"],
2199 AC_DEFINE([HAVE_ABSTRACT_SOCKETS], [1], [Have abstract sockets namespace]) 2180 [1], [Have abstract sockets namespace])
2200fi
2201 2181
2202### Checks for programs 2182### Checks for programs
2203 2183