ax_check_girs_gjs
=================

Synopsis
********

     AX_CHECK_GIRS_GJS(MODULE, API_VERSION [, MODULE, API_VERSION...])

Description
***********

Check that the GObject Introspection module $MODULE is importable in GJS (GNOME's JavaScript engine, https://wiki.gnome.org/Projects/Gjs). The API version must be $API_VERSION.

GObject Introspection (https://wiki.gnome.org/Projects/GObjectIntrospection) is a tool for generating bindings from C libraries to higher-level languages. The bindings live in a GObject Introspection repository (GIR) file, which is what this macro checks.

Note that for the purposes of GObject Introspection, the API version is different from the release version. For example, GTK currently has API version 3.0, but that could mean any release from the 3.0, 3.2, 3.4,... series. To check for specific API that was added in a later version, use AX_CHECK_GIR_SYMBOLS_GJS.

Example:

       AX_CHECK_GIRS_GJS([Gdk], [3.0],
                         [Gtk], [3.0])

NOTE: This macro depends on AX_PROG_GJS.

Source Code
***********

Download the latest version of ax_check_girs_gjs.m4 (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_check_girs_gjs.m4) or browse the macro's revision history (http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=history;f=m4/ax_check_girs_gjs.m4).

License
*******

Copyright © 2013, 2016 Endless Mobile, Inc.; contributed by Philip Chimento philip@endlessm.com

Copying and distribution of this file, with or without modification, are permitted in any medium without royalty provided the copyright notice and this notice are preserved. This file is offered as-is, without any warranty.