-
Notifications
You must be signed in to change notification settings - Fork 0
/
configure.ac
70 lines (53 loc) · 1.31 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
AC_PREREQ([2.64])
AC_INIT([mousetweaks],
[3.32.0],
[https://gitlab.gnome.org/GNOME/mousetweaks/issues],
[mousetweaks],
[https://wiki.gnome.org/Projects/Mousetweaks])
AC_CONFIG_SRCDIR([src])
AC_CONFIG_HEADER([config.h])
AC_CONFIG_MACRO_DIR([m4])
AC_PREFIX_DEFAULT([/usr])
AM_INIT_AUTOMAKE([1.11 tar-ustar dist-xz no-dist-gzip foreign -Wno-portability])
AM_SILENT_RULES([yes])
AM_MAINTAINER_MODE([enable])
AC_PROG_CC
AC_PROG_INSTALL
AC_HEADER_STDC
AC_C_CONST
AM_PROG_CC_C_O
dnl *** i18n ***
AM_GNU_GETTEXT_VERSION([0.19.8])
AM_GNU_GETTEXT([external])
GETTEXT_PACKAGE=mousetweaks
AC_SUBST(GETTEXT_PACKAGE)
AC_DEFINE_UNQUOTED(GETTEXT_PACKAGE, "$GETTEXT_PACKAGE", [Gettext Package])
dnl *** gsettings ***
GLIB_GSETTINGS
dnl *** dependencies ***
GLIB_REQUIRED=2.25.3
GIO_REQUIRED=2.25.9
GTK_REQUIRED=3.0.0
GDS_REQUIRED=0.1.0
PKG_CHECK_MODULES(DEPENDENCIES,
glib-2.0 >= $GLIB_REQUIRED
gio-2.0 >= $GIO_REQUIRED
gtk+-3.0 >= $GTK_REQUIRED
gsettings-desktop-schemas >= $GDS_REQUIRED
x11
xcursor
xfixes
xtst)
dnl *** GLib tools ***
GLIB_MKENUMS="$($PKG_CONFIG --variable=glib_mkenums glib-2.0)"
AC_SUBST([GLIB_MKENUMS])
dnl *** output ***
AC_CONFIG_FILES([
Makefile
src/Makefile
data/Makefile
pixmaps/Makefile
po/Makefile.in
man/Makefile
])
AC_OUTPUT