[Github-comments] [geany/geany] autotools: Detect GTK version to use automatically (#1182)

elextr notifications at xxxxx
Sat Aug 20 02:09:15 UTC 2016


> -AS_IF([test "x$enable_gtk3" = xyes],
> -	  [gtk_package=gtk+-3.0
> -	   gtk_min_version=3.0],
> -	  [gtk_package=gtk+-2.0
> -	   gtk_min_version=2.24])
> -AM_CONDITIONAL([GTK3], [test "x$gtk_package" = "xgtk+-3.0"])
> +		[enable_gtk3=auto])
> +
> +gtk2_package=gtk+-2.0
> +gtk2_min_version=2.24
> +gtk3_package=gtk+-3.0
> +gtk3_min_version=3.0
> +
> +PKG_CHECK_EXISTS([$gtk2_package >= $gtk2_min_version], [have_gtk2=yes], [have_gtk2=no])
> +PKG_CHECK_EXISTS([$gtk3_package >= $gtk3_min_version], [have_gtk3=yes], [have_gtk3=no])
> +AS_IF([test "x$enable_gtk3" = xyes || (! test "x$enable_gtk3" = xno &&

To the first test only according to my knowledge, but that is widely acknowledged as limited, so you better check it :)

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany/pull/1182/files/2728160c4b5f11762b5e8f16a2d61da269dfacb7#r75570963
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.geany.org/pipermail/github-comments/attachments/20160819/c5e4d5d3/attachment.html>


More information about the Github-comments mailing list