forked from poppa/Roxen-Application-Launcher
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconfigure.ac
82 lines (66 loc) · 1.83 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
69
70
71
72
73
74
75
76
77
78
79
80
81
AC_PREREQ([2.64])
AC_INIT(roxenlauncher,
2.0.3,
[roxenlauncher],
[https://github.com/poppa/Roxen-Application-Launcher])
AC_CONFIG_HEADERS([config.h])
AC_CONFIG_SRCDIR([configure.ac])
AC_CONFIG_MACRO_DIR([m4])
AC_CHECK_LIB(gthread-2.0, g_thread_init)
AM_INIT_AUTOMAKE([1.1 -Wall])
AM_MAINTAINER_MODE([enable])
AC_PROG_CC
AM_PROG_CC_STDC
AC_HEADER_STDC
AM_PROG_VALAC([0.14])
# Initialize libtool
LT_PREREQ([2.2])
LT_INIT
CFLAGS="${CFLAGS} -Wall"
CFLAGS+=" -DGSEAL_ENABLE"
GNOME_MAINTAINER_MODE_DEFINES
GNOME_COMPILE_WARNINGS([maximum])
#*******************************************************************************
#
# Internationalization
#
#*******************************************************************************
AM_GNU_GETTEXT([external])
AM_GNU_GETTEXT_VERSION([0.17])
GETTEXT_PACKAGE=roxenlauncher
AC_SUBST(GETTEXT_PACKAGE)
AC_DEFINE_UNQUOTED(GETTEXT_PACKAGE,"$GETTEXT_PACKAGE", [GETTEXT package name])
IT_PROG_INTLTOOL([0.40.0])
AC_SUBST(CFLAGS)
AC_SUBST(CPPFLAGS)
AC_SUBST(LDFLAGS)
#*******************************************************************************
#
# Check libraries
#
#*******************************************************************************
GLIB_REQUIRED=2.30.0
GTK_REQUIRED=3.0
SOUP24_REQUIRED=2.36.0
GIO_REQUIRED=2.3.0
GDK_PIXBUF_REQUIRED=2.24.0
LIBNOTIFY_REQUIRED=0.7.4
PKG_CHECK_MODULES(ROXENLAUNCHER, \
glib-2.0 >= $GLIB_REQUIRED \
gobject-2.0 >= $GLIB_REQUIRED \
gtk+-3.0 >= $GTK_REQUIRED \
libsoup-2.4 >= $SOUP24_REQUIRED \
gio-2.0 >= $GIO_REQUIRED \
libnotify >= $LIBNOTIFY_REQUIRED \
gdk-pixbuf-2.0 >= $GDK_PIXBUF_REQUIRED)
AC_SUBST(ROXENLAUNCHER_CFLAGS)
AC_SUBST(ROXENLAUNCHER_LIBS)
GLIB_GSETTINGS
AC_CONFIG_FILES([
Makefile
src/Makefile
data/Makefile
po/Makefile
])
AC_OUTPUT