summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorGustavo Sverzut Barbieri <barbieri@profusion.mobi>2016-09-19 03:19:16 -0300
committerGustavo Sverzut Barbieri <barbieri@profusion.mobi>2016-09-19 10:01:51 -0300
commit0d478c301f49fccfd94a107c060696f79490c30d (patch)
tree788dcd1b0fa3dd956a0a73e2d3e48834e4847ac1 /configure.ac
parent696692ab90d055b67f48490f6216a010e35844a3 (diff)
efl_net_dialer_tcp: use libproxy settings.
libproxy allows various means to configure a proxy, will load from gnome and kde configuration settings, envvars, macos and even windows registry. curl still doesn't use it, but we can make that later.
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac13
1 files changed, 13 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index d0b9962..a403484 100644
--- a/configure.ac
+++ b/configure.ac
@@ -224,6 +224,7 @@ case "$host_os" in
224 ;; 224 ;;
225 freebsd*) 225 freebsd*)
226 have_freebsd="yes" 226 have_freebsd="yes"
227 want_libproxy="yes"
227 ELM_UNIX_DEF="#define" 228 ELM_UNIX_DEF="#define"
228 ;; 229 ;;
229 darwin*) 230 darwin*)
@@ -234,6 +235,7 @@ case "$host_os" in
234 have_linux="yes" 235 have_linux="yes"
235 have_systemd_pkg="auto" 236 have_systemd_pkg="auto"
236 want_systemd="yes" 237 want_systemd="yes"
238 want_libproxy="yes"
237 ELM_UNIX_DEF="#define" 239 ELM_UNIX_DEF="#define"
238 ;; 240 ;;
239 *) 241 *)
@@ -3032,6 +3034,16 @@ EFL_LIB_START([Ecore_Con])
3032 3034
3033### Default values 3035### Default values
3034 3036
3037AC_ARG_ENABLE([libproxy],
3038 [AS_HELP_STRING([--enable-libproxy],[Enable libproxy support. @<:@default=enabled@:>@])],
3039 [
3040 if test "x${enableval}" = "xyes" ; then
3041 want_libproxy="yes"
3042 else
3043 want_libproxy="no"
3044 fi
3045 ])
3046
3035want_ecore_con_local_sockets="yes" 3047want_ecore_con_local_sockets="yes"
3036want_ecore_con_abstract_sockets="yes" 3048want_ecore_con_abstract_sockets="yes"
3037 3049
@@ -3068,6 +3080,7 @@ EFL_INTERNAL_DEPEND_PKG([ECORE_CON], [emile])
3068EFL_ADD_LIBS([ECORE_CON], [-lm]) 3080EFL_ADD_LIBS([ECORE_CON], [-lm])
3069 3081
3070EFL_OPTIONAL_DEPEND_PKG([ECORE_CON], [${want_systemd}], [SYSTEMD], [libsystemd]) 3082EFL_OPTIONAL_DEPEND_PKG([ECORE_CON], [${want_systemd}], [SYSTEMD], [libsystemd])
3083EFL_OPTIONAL_DEPEND_PKG([ECORE_CON], [${want_libproxy}], [LIBPROXY], [libproxy-1.0])
3071 3084
3072EFL_ADD_FEATURE([ECORE_CON], [local-sockets], [${want_ecore_con_local_sockets}]) 3085EFL_ADD_FEATURE([ECORE_CON], [local-sockets], [${want_ecore_con_local_sockets}])
3073EFL_ADD_FEATURE([ECORE_CON], [abstract-sockets], [${want_ecore_con_abstract_sockets}]) 3086EFL_ADD_FEATURE([ECORE_CON], [abstract-sockets], [${want_ecore_con_abstract_sockets}])