aboutsummaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab+samsung@kernel.org>2018-09-06 11:23:26 -0300
committerMauro Carvalho Chehab <mchehab+samsung@kernel.org>2018-09-06 19:11:12 -0300
commit0fc4cba2512f2c96bdf2071030d87ca54e81e871 (patch)
tree2eb726e17d9a9d2e57c5a2ed378e169efc8009dc /configure
parentbc84d7da7b151bedcc9b9d95117d1e2dadbc4a2e (diff)
Allow having different UIs depending on Gtk version
On Gtk3, several Widgets got obsoleted, being replaced by a different wigdet. For now, keep both gtk2 and gtk3 versions identical, e. g.: copied: camorama.ui -> camorama-gtk3.ui renamed: camorama.ui -> camorama-gtk2.ui The next patch will replace the obsolete widgets. Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure4
1 files changed, 4 insertions, 0 deletions
diff --git a/configure b/configure
index 3a00aa5..7e7c85f 100755
--- a/configure
+++ b/configure
@@ -632,6 +632,7 @@ GCONF_SCHEMAS_INSTALL_TRUE
GCONF_SCHEMA_FILE_DIR
GCONF_SCHEMA_CONFIG_SOURCE
GCONFTOOL
+CAMORAMA_UI
PACKAGE_LIBS
PACKAGE_CFLAGS
PKG_CONFIG_LIBDIR
@@ -9645,8 +9646,10 @@ pkg_modules="gdk-pixbuf-2.0 gconf-2.0"
if test "x$enable_gtk2" = xyes; then
pkg_modules="$pkg_modules gtk+-2.0 >= 2.24"
+ CAMORAMA_UI="camorama-gtk2.ui"
else
pkg_modules="$pkg_modules gtk+-3.0 >= 3.10 cairo"
+ CAMORAMA_UI="camorama-gtk3.ui"
fi
@@ -9863,6 +9866,7 @@ fi
+
$as_echo "#define HAVE_GCONF 1" >>confdefs.h

Privacy Policy