-
Notifications
You must be signed in to change notification settings - Fork 10
/
Copy pathconfigure.ac
61 lines (43 loc) · 1.17 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
53
54
55
56
57
58
59
60
61
AC_INIT([gtknodes], [0.1], [[email protected]], [])
AM_INIT_AUTOMAKE([subdir-objects foreign dist-xz])
AC_PROG_CC
AC_CONFIG_MACRO_DIRS([m4])
PKG_PROG_PKG_CONFIG
PKG_INSTALLDIR
AC_PREFIX_DEFAULT([/usr])
LT_INIT([dlopen])
m4_ifdef([GOBJECT_INTROSPECTION_CHECK], [
GOBJECT_INTROSPECTION_CHECK([1.40.0])
],[
AM_CONDITIONAL([HAVE_INTROSPECTION], true)
])
m4_ifdef([VAPIGEN_CHECK], [
VAPIGEN_CHECK([0.48])
],[
AM_CONDITIONAL([ENABLE_VAPIGEN], false)
])
m4_ifdef([GTK_DOC_CHECK], [
GTK_DOC_CHECK([1.31],[--flavour no-tmpl])
],[
AM_CONDITIONAL([ENABLE_GTK_DOC], false)
])
PKG_CHECK_MODULES([GLIB], [glib-2.0])
PKG_CHECK_MODULES([GIO], [gio-2.0])
PKG_CHECK_MODULES([GTK3], [gtk+-3.0 >= 3.24.4])
PKG_CHECK_MODULES([GLADE2], [gladeui-2.0],
[ac_gladeui_catdir=`$PKG_CONFIG --variable=catalogdir gladeui-2.0`],
[ac_gladeui_catdir=;])
if test "x$ac_gladeui_catdir" = x ; then
AC_MSG_ERROR([Couldn't find glade-2.0 catalog directory])
fi
AC_SUBST(GLADEUI_CATDIR, $ac_gladeui_catdir)
AC_CONFIG_FILES([Makefile
src/Makefile
introspection/Makefile
vapi/Makefile
examples/Makefile
glade/Makefile
docs/reference/gtknodes/Makefile
gtknodes.pc
])
AC_OUTPUT