summaryrefslogtreecommitdiff
path: root/cmake
diff options
context:
space:
mode:
authorGustavo Sverzut Barbieri <barbieri@profusion.mobi>2017-01-27 17:25:12 -0200
committerGustavo Sverzut Barbieri <barbieri@profusion.mobi>2017-01-27 17:26:05 -0200
commitf6cac7ed9a042bb7fad7fb0b9c75abccf38cd878 (patch)
tree4349e9385e7e42c64f8c32a28537602ac54b9086 /cmake
parentde67f772bbdbb16daa7879f7bdac97e8ff400235 (diff)
cmake: add ecore_con.
Diffstat (limited to 'cmake')
-rw-r--r--cmake/config/common.cmake1
-rw-r--r--cmake/config/ecore_con.cmake14
2 files changed, 15 insertions, 0 deletions
diff --git a/cmake/config/common.cmake b/cmake/config/common.cmake
index be69a892fd..d95d0ec7a2 100644
--- a/cmake/config/common.cmake
+++ b/cmake/config/common.cmake
@@ -43,6 +43,7 @@ HEADER_CHECK(mcheck.h)
43HEADER_CHECK(netinet/in.h) 43HEADER_CHECK(netinet/in.h)
44HEADER_CHECK(stdlib.h) 44HEADER_CHECK(stdlib.h)
45HEADER_CHECK(sys/auxv.h) 45HEADER_CHECK(sys/auxv.h)
46HEADER_CHECK(sys/ioctl.h)
46HEADER_CHECK(sys/mman.h) 47HEADER_CHECK(sys/mman.h)
47HEADER_CHECK(sys/types.h) 48HEADER_CHECK(sys/types.h)
48 49
diff --git a/cmake/config/ecore_con.cmake b/cmake/config/ecore_con.cmake
new file mode 100644
index 0000000000..487cb46f2b
--- /dev/null
+++ b/cmake/config/ecore_con.cmake
@@ -0,0 +1,14 @@
1EFL_OPTION(WITH_EFL_NET_CONTROL_BACKEND "Choose the Efl.Net.Control backend" "connman" CHOICE connman;none)
2
3FUNC_CHECK(accept4 INCLUDE_FILES sys/types.h sys/socket.h DEFINITIONS "-D_GNU_SOURCE=1")
4FUNC_CHECK(gmtime_r INCLUDE_FILES time.h DEFINITIONS "-D_POSIX_C_SOURCE=1 -D_BSD_SOURCE=1 -D_SVID_SOURCE=1")
5
6HEADER_CHECK(arpa/inet.h)
7HEADER_CHECK(net/if.h)
8HEADER_CHECK(netinet/in.h)
9HEADER_CHECK(netinet/ssl.h)
10HEADER_CHECK(netinet/tcp.h)
11HEADER_CHECK(netinet/udp.h)
12HEADER_CHECK(sys/socket.h)
13HEADER_CHECK(sys/un.h)
14HEADER_CHECK(ws2tcpip.h)