-
Notifications
You must be signed in to change notification settings - Fork 20
/
Copy pathconfigure.ac
58 lines (49 loc) · 1.65 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_INIT([Alternative Toolbar],
[0.20.4],
[fossfreedom@ubuntu.com],
[alternative-toolbar],
[https://github.com/fossfreedom/alternative-toolbar])
AC_CONFIG_SRCDIR([alternative-toolbar.plugin.in])
AM_INIT_AUTOMAKE([-Wno-portability no-dist-gzip dist-xz foreign subdir-objects])
AC_PREFIX_DEFAULT(/usr)
AC_PREFIX_PROGRAM(rhythmbox)
AM_SILENT_RULES([yes])
AC_CONFIG_MACRO_DIR([m4])
GLIB_GSETTINGS
AC_CONFIG_FILES([Makefile
po/Makefile.in])
IT_PROG_INTLTOOL([0.50.0])
GETTEXT_PACKAGE=alternative-toolbar
AC_SUBST(GETTEXT_PACKAGE)
AC_DEFINE_UNQUOTED(GETTEXT_PACKAGE, "$GETTEXT_PACKAGE",
[The prefix for gettext translation domains.])
AM_GLIB_GNU_GETTEXT
AC_ARG_WITH(home-install,
AC_HELP_STRING([--with-home-install],
[Install alternative-toolbar in the home directory (~/.local/share/rhythmbox/plugins)]))
if test "x$with_home_install" = "xyes"; then
prefix=~/.local/share
libdir=${prefix}
datarootdir=${prefix}
fi
# Pythonic checks
AM_PATH_PYTHON([3.2])
AC_PYTHON_GI_MODULE(GObject, 2.0)
AC_PYTHON_GI_MODULE(Gtk, 3.0)
AC_PYTHON_GI_MODULE(Gio, 2.0)
AC_PYTHON_GI_MODULE(RB, 3.0)
AC_PYTHON_GI_MODULE(Pango, 1.0)
AC_PYTHON_GI_MODULE(Peas, 1.0)
AC_PYTHON_GI_MODULE(PeasGtk, 1.0)
#AC_PYTHON_GI_MODULE(Keybinder, 3.0)
AC_OUTPUT
AC_MSG_RESULT([
alternative-toolbar $VERSION
========
prefix: ${prefix}
libdir: ${libdir}
sysconfdir: ${sysconfdir}
exec_prefix: ${exec_prefix}
bindir: ${bindir}
datarootdir: ${datarootdir}
])