[PATCH] build: require glib 2.36

Aleksander Morgado aleksander at aleksander.es
Tue Apr 25 07:52:09 UTC 2017


On 24/04/17 19:48, Ben Chan wrote:
> We want to start using new features like GTask, which is available in
> GLib 2.36.
> ---

Pushed to git master, thanks.

>  configure.ac | 9 ++++++---
>  1 file changed, 6 insertions(+), 3 deletions(-)
> 
> diff --git a/configure.ac b/configure.ac
> index bf5a9d3..a4f0d84 100644
> --- a/configure.ac
> +++ b/configure.ac
> @@ -64,9 +64,12 @@ AC_SUBST(MBIM_GLIB_LT_CURRENT)
>  AC_SUBST(MBIM_GLIB_LT_REVISION)
>  AC_SUBST(MBIM_GLIB_LT_AGE)
>  
> +dnl Required dependency versions
> +GLIB_MIN_VERSION=2.36
> +
>  dnl General dependencies for libmbim-glib
>  PKG_CHECK_MODULES(LIBMBIM_GLIB,
> -                  glib-2.0 >= 2.32
> +                  glib-2.0 >= $GLIB_MIN_VERSION
>                    gobject-2.0
>                    gio-2.0
>                    gio-unix-2.0)
> @@ -75,7 +78,7 @@ AC_SUBST(LIBMBIM_GLIB_LIBS)
>  
>  dnl General dependencies for mbimcli
>  PKG_CHECK_MODULES(MBIMCLI,
> -                  glib-2.0 >= 2.32
> +                  glib-2.0 >= $GLIB_MIN_VERSION
>                    gobject-2.0
>                    gio-2.0)
>  AC_SUBST(MBIMCLI_CFLAGS)
> @@ -83,7 +86,7 @@ AC_SUBST(MBIMCLI_LIBS)
>  
>  dnl General dependencies for mbim-proxy
>  PKG_CHECK_MODULES(MBIMPROXY,
> -                  glib-2.0 >= 2.32
> +                  glib-2.0 >= $GLIB_MIN_VERSION
>                    gobject-2.0
>                    gio-2.0)
>  AC_SUBST(MBIMPROXY_CFLAGS)
> 


-- 
Aleksander
https://aleksander.es


More information about the libmbim-devel mailing list