diff options
author | Mauro Carvalho Chehab <mchehab+samsung@kernel.org> | 2018-09-05 16:00:47 -0300 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab+samsung@kernel.org> | 2018-09-05 16:00:47 -0300 |
commit | b99c1249ef357bda32b2bbc0aab773fb32c51eab (patch) | |
tree | eb826760f20086ca087d7fc98dface974cf6d3da /configure | |
parent | 3da0b5d1e0b81698b565ff43859e23d023c06996 (diff) |
Change default to build with Gtk3
That allows working with Wayland and HiDPI displays.
Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 18 |
1 files changed, 9 insertions, 9 deletions
@@ -764,7 +764,7 @@ with_libiconv_prefix with_libintl_prefix enable_compile_warnings enable_Werror -enable_gtk3 +enable_gtk2 with_gconf_source with_gconf_schema_file_dir enable_schemas_install @@ -1412,7 +1412,7 @@ Optional Features: --enable-compile-warnings=[no/yes/error] Enable compiler warnings and errors --disable-Werror Unconditionally make all compiler warnings non-fatal - --enable-gtk3 Compile against GTK 3.x instead of GTK 2.x + --enable-gtk2 Compile against GTK 2.x instead of GTK 3.x --disable-schemas-install Disable the schemas installation @@ -9633,20 +9633,20 @@ fi -# Check whether --enable-gtk3 was given. -if test "${enable_gtk3+set}" = set; then : - enableval=$enable_gtk3; enable_gtk3=$enableval +# Check whether --enable-gtk2 was given. +if test "${enable_gtk2+set}" = set; then : + enableval=$enable_gtk2; enable_gtk2=$enableval else - enable_gtk3="no" + enable_gtk2="no" fi pkg_modules="gdk-pixbuf-2.0 gconf-2.0" -if test "x$enable_gtk3" = xyes; then - pkg_modules="$pkg_modules gtk+-3.0 >= 3.10 cairo" -else +if test "x$enable_gtk2" = xyes; then pkg_modules="$pkg_modules gtk+-2.0 >= 2.24" +else + pkg_modules="$pkg_modules gtk+-3.0 >= 3.10 cairo" fi |