-
Notifications
You must be signed in to change notification settings - Fork 0
/
configure.ac
68 lines (54 loc) · 1.47 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
62
63
64
65
66
67
68
AC_INIT([valhalla], [0.1])
AC_CONFIG_AUX_DIR([build-aux])
AC_CONFIG_MACRO_DIR([m4])
AM_INIT_AUTOMAKE([foreign subdir-objects])
AM_SILENT_RULES([yes])
AM_PROG_VALAC([0.33.1])
AM_PROG_CC_C_O
CFLAGS="$CFLAGS -w"
dnl ###########################################################################
dnl Dependencies
dnl ###########################################################################
GLIB_REQUIRED=2.40.0
GTK_REQUIRED=3.22
AC_SUBST([GLIB_REQUIRED])
PKG_CHECK_MODULES(valhalla_U, [
glib-2.0 >= $GLIB_REQUIRED
gobject-2.0 >= $GLIB_REQUIRED
gio-2.0 >= $GLIB_REQUIRED
gio-unix-2.0 >= $GLIB_REQUIRED
gtk+-3.0 >= $GTK_REQUIRED
gnome-desktop-3.0
gmodule-2.0
gee-0.8
sqlite3
zlib
libsoup-2.4
libnautilus-extension
])
AC_SUBST([valhalla_U_VALAFLAGS], ["--vapidir=\$(top_srcdir)/vapi \
--target-glib=$GLIB_REQUIRED \
--fatal-warnings \
--enable-experimental-non-null"])
AC_PATH_PROG(GLIB_COMPILE_RESOURCES, glib-compile-resources)
NAUTILUS_EXTENSION_DIR=`$PKG_CONFIG --variable=extensiondir libnautilus-extension`
AC_SUBST(NAUTILUS_EXTENSION_DIR)
LT_INIT([dlopen])
LIBGD_INIT([
notification
vapi
])
dnl ###########################################################################
dnl Files to generate
dnl ###########################################################################
AC_CONFIG_FILES([
Makefile
valhalla.spec
libgd/Makefile
data/Makefile
src/Makefile
src/libvalhalla/Makefile
src/modules/Makefile
src/valhalla/Makefile
])
AC_OUTPUT