Skip to content
Snippets Groups Projects
Commit a28f69b9 authored by Tristan Matthews's avatar Tristan Matthews
Browse files

* #13500: gnome: fix configure for gtk2

parent 8df894c7
No related branches found
No related tags found
No related merge requests found
...@@ -42,10 +42,9 @@ AS_IF([test "x$enable_video" = "xyes"], [ ...@@ -42,10 +42,9 @@ AS_IF([test "x$enable_video" = "xyes"], [
AM_CONDITIONAL(SFL_VIDEO, test "x$enable_video" = "xyes") AM_CONDITIONAL(SFL_VIDEO, test "x$enable_video" = "xyes")
# Check for gtk+-3.0 and if found, check for webkitgtk-3.0, otherwise # Check for gtk+-3.0, otherwise check for gtk+-2.0
# check for gtk+-2.0 and if found, check for webkitgtk-1.0.
PKG_CHECK_MODULES(GTK, gtk+-3.0, PKG_CHECK_MODULES(GTK, gtk+-3.0,
[PKG_CHECK_MODULES(GTK, gtk+-2.0, [PKG_CHECK_MODULES(GTK, gtk+-2.0, ,
[PKG_CHECK_MODULES(GTHREAD, gthread-2.0)], [PKG_CHECK_MODULES(GTHREAD, gthread-2.0)],
[AC_MSG_ERROR(gtk-2 not found)])]) [AC_MSG_ERROR(gtk-2 not found)])])
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment