# dependencies and options
want_curl="no"
+want_local_sockets="yes"
want_abstract_sockets="no"
want_gnutls="no"
want_openssl="no"
;;
esac
+case "$host_vendor" in
+ ps3*)
+ want_local_sockets="no"
+ ;;
+esac
requirements_ecore=""
requirements_ecore_con=""
#requirements_ecore_config=""
AC_MSG_ERROR([--enable-glib-integration-always and --enable-glib-main-loop are mutually exclusive])
fi
+# local sockets (ecore_con.c)
+AC_ARG_ENABLE([local-sockets],
+ [AC_HELP_STRING([--disable-local-sockets], [disable local sockets.])],
+ [
+ if test "x${enableval}" = "xyes" ; then
+ want_ecore_con_local_sockets="yes"
+ else
+ want_ecore_con_local_sockets="no"
+ fi
+ ],
+ [want_ecore_con_local_sockets=${want_local_sockets}])
+
+if test "x${want_ecore_con_local_sockets}" = "xyes" ; then
+ AC_DEFINE([HAVE_LOCAL_SOCKETS], [1], [Have local sockets support])
+fi
+
# abstract sockets (ecore_con.c)
AC_ARG_ENABLE([abstract-sockets],
[AC_HELP_STRING([--disable-abstract-sockets], [disable abstract sockets.])],
fi
echo " GnuTLS.....................: $have_gnutls"
echo " CURL.......................: $have_curl"
- echo " Abstract Sockets...........: $want_abstract_sockets"
+ echo " Local Sockets..............: $want_local_sockets"
+if test "x$want_local_sockets" = "xyes" ; then
+ echo " Abstract Sockets.........: $want_abstract_sockets"
+fi
echo " c-ares.....................: $have_cares"
fi
echo " Ecore_Ipc....................: $have_ecore_ipc"
Eina_Bool (*cb_done)(void *data, Ecore_Fd_Handler *fd_handler),
void *data __UNUSED__)
{
+#ifndef HAVE_LOCAL_SOCKETS
+ return 0;
+#else
char buf[4096];
struct sockaddr_un socket_unix;
int curstate = 0;
if (!svr->delete_me) ecore_con_event_server_add(svr);
return 1;
+#endif
}
int
void *data
__UNUSED__)
{
+#ifdef HAVE_LOCAL_SOCKETS
char buf[4096];
struct sockaddr_un socket_unix;
struct linger lin;
error_umask:
umask(pmode);
error:
+#endif /* HAVE_LOCAL_SOCKETS */
return 0;
}