From e34f36be12d4f32ea5d70ff8a763b37bed818083 Mon Sep 17 00:00:00 2001 From: Marcel Hollerbach Date: Fri, 3 Feb 2017 19:22:37 +0100 Subject: [PATCH] ecore_x: we dont need this version file anymore it indicated a while back which backend was used, we only have xlib left. --- configure.ac | 6 ------ src/Makefile_Ecore_X.am | 1 - src/lib/ecore_x/Ecore_X.h | 3 ++- src/lib/ecore_x/ecore_x_version.h.in | 8 -------- 4 files changed, 2 insertions(+), 16 deletions(-) delete mode 100644 src/lib/ecore_x/ecore_x_version.h.in diff --git a/configure.ac b/configure.ac index 68d608d203..68cd0c25b3 100644 --- a/configure.ac +++ b/configure.ac @@ -4232,17 +4232,12 @@ if test "x${want_x11_xlib}" = "xyes" ; then fi EFL_ADD_FEATURE([ECORE_X], [xinput22]) - AC_DEFINE([HAVE_ECORE_X_XLIB], [1], [Defined to 1 if Xlib is enabled.]) - HAVE_ECORE_X_BACKEND="HAVE_ECORE_X_XLIB" - EFL_EVAL_PKGS([ECORE_X]) EFL_CHECK_FUNCS([ECORE_X], [dlopen dlsym]) fi EFL_ADD_LIBS([ECORE_X], [${ECORE_X_LIBS}]) -AC_SUBST([HAVE_ECORE_X_BACKEND]) - EFL_LIB_END_OPTIONAL([Ecore_X]) AM_CONDITIONAL([HAVE_ECORE_X_XLIB], [test "${want_x11_xlib}" = "yes"]) @@ -5614,7 +5609,6 @@ src/examples/eolian_cxx/Makefile src/examples/elocation/Makefile src/examples/elementary/Makefile src/lib/eina/eina_config.h -src/lib/ecore_x/ecore_x_version.h src/lib/efl/Efl_Config.h src/lib/elementary/Elementary_Options.h src/scripts/eo/eo_debug diff --git a/src/Makefile_Ecore_X.am b/src/Makefile_Ecore_X.am index 7172114042..3b0252290b 100644 --- a/src/Makefile_Ecore_X.am +++ b/src/Makefile_Ecore_X.am @@ -7,7 +7,6 @@ lib_LTLIBRARIES += lib/ecore_x/libecore_x.la installed_ecorexmainheadersdir = $(includedir)/ecore-x-@VMAJ@ dist_installed_ecorexmainheaders_DATA = \ lib/ecore_x/Ecore_X.h \ -lib/ecore_x/ecore_x_version.h \ lib/ecore_x/Ecore_X_Atoms.h \ lib/ecore_x/Ecore_X_Cursor.h diff --git a/src/lib/ecore_x/Ecore_X.h b/src/lib/ecore_x/Ecore_X.h index 21a94fab85..1d167c0f5a 100644 --- a/src/lib/ecore_x/Ecore_X.h +++ b/src/lib/ecore_x/Ecore_X.h @@ -42,7 +42,8 @@ typedef struct _Ecore_X_Version EAPI extern Ecore_X_Version *ecore_x_version; -#include "ecore_x_version.h" +//legacy this was earlier there to indicate if we are running under xlib or xcb +#define HAVE_ECORE_X_XLIB 1 #include diff --git a/src/lib/ecore_x/ecore_x_version.h.in b/src/lib/ecore_x/ecore_x_version.h.in deleted file mode 100644 index 98f1d6a9db..0000000000 --- a/src/lib/ecore_x/ecore_x_version.h.in +++ /dev/null @@ -1,8 +0,0 @@ -#ifndef _ECORE_X_VERSION_H_ -#define _ECORE_X_VERSION_H_ 1 - -#ifndef @HAVE_ECORE_X_BACKEND@ -#define @HAVE_ECORE_X_BACKEND@ 1 -#endif - -#endif