-
Notifications
You must be signed in to change notification settings - Fork 46
/
configure.ac
58 lines (45 loc) · 1.04 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
AC_PREREQ([2.64])
AC_INIT([maynard],
[0.2.0+git])
AC_CONFIG_HEADERS([config.h])
AM_INIT_AUTOMAKE([1.11 foreign no-dist-gzip dist-xz])
AM_SILENT_RULES([yes])
# Check for programs
AC_PROG_CC
IT_PROG_INTLTOOL([0.40])
GETTEXT_PACKAGE=maynard
AC_SUBST(GETTEXT_PACKAGE)
AC_DEFINE_UNQUOTED(GETTEXT_PACKAGE, "$GETTEXT_PACKAGE",
[The prefix for our gettext translation domains.])
# Initialize libtool
LT_PREREQ([2.2])
LT_INIT([disable-static])
PKG_PROG_PKG_CONFIG()
PKG_CHECK_MODULES([GTK], [
wayland-client >= 1.0.2
weston >= 1.5.91
gtk+-3.0 >= 3.10
gtk+-wayland-3.0
libgnome-menu-3.0
gnome-desktop-3.0
alsa
])
PKG_CHECK_MODULES([NEW_WESTON], [
weston >= 1.12
libweston-1
],
[AC_DEFINE([HAVE_NEW_WESTON],
[1],
[Using weston 1.12 or newer])],
[AC_MSG_WARN([Not using weston 1.12 or newer])]
)
GLIB_GSETTINGS
WAYLAND_SCANNER_RULES(['$(top_srcdir)/protocol'])
AC_CONFIG_FILES([maynard], [chmod +x maynard])
AC_CONFIG_FILES([Makefile
data/Makefile
shell/Makefile
po/Makefile.in
protocol/Makefile
])
AC_OUTPUT