Kaydet (Commit) 6a3bb7c1 authored tarafından Tor Lillqvist's avatar Tor Lillqvist

Add HAVE_FEATURE_X11

Change-Id: I4ca7310c936ce123347be2e3243fddc738f85d6d
üst d504b887
...@@ -43,6 +43,13 @@ ...@@ -43,6 +43,13 @@
#define HAVE_FEATURE_DESKTOP_GUI_ELEMENTS 0 #define HAVE_FEATURE_DESKTOP_GUI_ELEMENTS 0
/* X11
*
* Whether we are building code to run in an X11 environment.
*/
#define HAVE_FEATURE_X11 0
/* EXTENSIONS - Whether we have any extension mechanism at all /* EXTENSIONS - Whether we have any extension mechanism at all
* *
* Primarily intended for non-desktop platforms where supporting * Primarily intended for non-desktop platforms where supporting
......
...@@ -9138,6 +9138,7 @@ dnl *************************************** ...@@ -9138,6 +9138,7 @@ dnl ***************************************
WANT_X11="no" WANT_X11="no"
if test $_os != Darwin -a $_os != WINNT -a $_os != Android -a $_os != iOS -a "$enable_headless" != "yes"; then if test $_os != Darwin -a $_os != WINNT -a $_os != Android -a $_os != iOS -a "$enable_headless" != "yes"; then
WANT_X11="yes" WANT_X11="yes"
AC_DEFINE(HAVE_FEATURE_X11)
fi fi
AC_MSG_RESULT([$WANT_X11]) AC_MSG_RESULT([$WANT_X11])
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment