-
Notifications
You must be signed in to change notification settings - Fork 2
/
configure.ac
52 lines (43 loc) · 1.35 KB
/
configure.ac
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
m4_define([noflo_gnome_major_version], [0])
m4_define([noflo_gnome_minor_version], [1])
m4_define([noflo_gnome_micro_version], [0])
m4_define([noflo_gnome_version],
[noflo_gnome_major_version.noflo_gnome_minor_version.noflo_gnome_micro_version])
AC_INIT([noflo-gnome],
[noflo_gnome_version],
[],
[noflo-gnome])
AC_CONFIG_HEADERS([config.h])
AC_CONFIG_SRCDIR([src/main.js])
AM_INIT_AUTOMAKE([1.10 no-define foreign dist-xz no-dist-gzip])
AM_MAINTAINER_MODE([enable])
PKG_PROG_PKG_CONFIG([0.22])
GIO_MIN_VERSION=2.38.0
GJS_MIN_VERSION=1.38.0
GOBJECT_INTROSPECTION_MIN_VERSION=0.10.1
LIBSOUP_MIN_VERSION=2.49.91.1
PKG_CHECK_MODULES(NOFLO_GNOME, [
gio-2.0 >= $GIO_MIN_VERSION
gjs-1.0 >= $GJS_MIN_VERSION
gobject-introspection-1.0 >= $GOBJECT_INTROSPECTION_MIN_VERSION
libsoup-2.4 >= $LIBSOUP_MIN_VERSION
])
GLIB_GSETTINGS
GJS_CONSOLE=`$PKG_CONFIG --variable=gjs_console gjs-1.0`
AC_SUBST(GJS_CONSOLE)
AC_CONFIG_FILES([
Makefile
components/Makefile
components/base/Makefile
components/clutter/Makefile
components/gir/Makefile
components/gtk/Makefile
components/gstreamer/Makefile
data/Makefile
examples/Makefile
examples/2048/Makefile
examples/cat/Makefile
examples/mpris-player/Makefile
src/Makefile
])
AC_OUTPUT