summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorGuilherme Iscaro <iscaro@profusion.mobi>2016-09-21 13:52:57 -0300
committerBruno Dilly <bdilly@profusion.mobi>2016-09-26 22:06:59 -0300
commitbc6e8d2692084a808c0cf7012e7db4a9849601e7 (patch)
treed8482ed0b7b353ecde9096e1171727a3db3ef90a /configure.ac
parent7e2d700d06ff970d68ae208d59bca76f6ea07467 (diff)
Ecore_Evas_X: Add VNC draw support.
This patch adds the support to draw the X11 screen contents to all remove VNC clients.
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac24
1 files changed, 22 insertions, 2 deletions
diff --git a/configure.ac b/configure.ac
index 61d3c9d..9c18780 100644
--- a/configure.ac
+++ b/configure.ac
@@ -433,6 +433,24 @@ AC_DEFINE_IF([ENABLE_LIBLZ4], [test "${want_liblz4}" = "yes"], [1], [Use liblz4
433AC_SUBST([want_liblz4]) 433AC_SUBST([want_liblz4])
434AC_SUBST([ENABLE_LIBLZ4]) 434AC_SUBST([ENABLE_LIBLZ4])
435 435
436
437want_vnc_server="no"
438AC_ARG_ENABLE([vnc-server],
439 [AS_HELP_STRING([--enable-vnc-server],[Enable VNC server support for Ecore_Evas_X. @<:@default=disabled@:>@])],
440 [
441 if test "x${enableval}" = "xyes" ; then
442 want_vnc_server="yes"
443 else
444 want_vnc_server="no"
445 fi
446 ],
447 [want_vnc_server="no"])
448
449AM_CONDITIONAL([ENABLE_VNC_SERVER], [test "${want_vnc_server}" = "yes"])
450AC_DEFINE_IF([ENABLE_VNC_SERVER], [test "${want_vnc_server}" = "yes"], [1], [Use VNC server support for Ecore_Evas_X])
451AC_SUBST([want_vnc_server])
452AC_SUBST([ENABLE_VNC_SERVER])
453
436#### Checks for header files 454#### Checks for header files
437 455
438# Common Checks (keep names sorted for ease of use): 456# Common Checks (keep names sorted for ease of use):
@@ -4622,7 +4640,8 @@ AM_CONDITIONAL([BUILD_ECORE_EVAS_WIN32],
4622 4640
4623# XXX TODO: ecore_evas_x11 4641# XXX TODO: ecore_evas_x11
4624 4642
4625ECORE_EVAS_MODULE([software-x11], [${want_x11_any}]) 4643ECORE_EVAS_MODULE([software-x11], [${want_x11_any}],
4644 [EFL_OPTIONAL_DEPEND_PKG([ECORE_EVAS], [${want_vnc_server}], [VNC_SERVER], [libvncserver])])
4626 4645
4627have_ecore_evas_software_xlib="no" 4646have_ecore_evas_software_xlib="no"
4628have_ecore_evas_software_xcb="no" 4647have_ecore_evas_software_xcb="no"
@@ -4645,7 +4664,8 @@ fi
4645 4664
4646# XXX TODO: ecore_evas_opengl_x11 4665# XXX TODO: ecore_evas_opengl_x11
4647 4666
4648ECORE_EVAS_MODULE([opengl-x11], [${want_x11_any_opengl}]) 4667ECORE_EVAS_MODULE([opengl-x11], [${want_x11_any_opengl}],
4668 [EFL_OPTIONAL_DEPEND_PKG([ECORE_EVAS], [${want_vnc_server}], [VNC_SERVER], [libvncserver])])
4649 4669
4650have_ecore_evas_opengl_xlib="no" 4670have_ecore_evas_opengl_xlib="no"
4651have_ecore_evas_opengl_xcb="no" 4671have_ecore_evas_opengl_xcb="no"