forked from edwinrong/d-feet
-
Notifications
You must be signed in to change notification settings - Fork 0
/
configure.ac
57 lines (43 loc) · 1.26 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
AC_PREREQ([2.64])
AC_INIT([d-feet],
[0.3.11],
[http://bugzilla.gnome.org/enter_bug.cgi?product=d-feet],
[d-feet],
[https://wiki.gnome.org/Apps/DFeet])
AM_INIT_AUTOMAKE([1.11 -Wall foreign no-define tar-ustar no-dist-gzip dist-xz])
GLIB_GSETTINGS
PKG_PROG_PKG_CONFIG
GNOME_COMPILE_WARNINGS([maximum])
YELP_HELP_INIT
AM_PATH_PYTHON([2.7])
PKG_CHECK_MODULES(DFEET, [
gtk+-3.0 >= 3.9.4
])
AC_ARG_ENABLE(tests,
AS_HELP_STRING([--disable-tests],
[do not run tests]),
enable_tests=$enableval, enable_tests=yes)
if test x$enable_tests = xyes; then
AC_CHECK_PROG([PEP8], [pep8], [yes])
test -z "$PEP8" && AC_MSG_ERROR([pep8 binary not found but needed for testsuite. either install it or run with the argument --disable-tests to not run the testsuite.])
fi
AM_CONDITIONAL(ENABLE_TESTS, test "x$enable_tests" = "xyes")
# i18n stuff
IT_PROG_INTLTOOL([0.40.0])
GETTEXT_PACKAGE=AC_PACKAGE_NAME
AC_SUBST(GETTEXT_PACKAGE)
AC_DEFINE_UNQUOTED(GETTEXT_PACKAGE,"$GETTEXT_PACKAGE", [Package name for gettext])
GOBJECT_INTROSPECTION_REQUIRE([0.9.6])
AC_CONFIG_FILES([
Makefile
po/Makefile.in
src/Makefile
src/dfeet/Makefile
src/tests/Makefile
data/Makefile
data/d-feet.desktop.in
data/icons/Makefile
data/ui/Makefile
help/Makefile
])
AC_OUTPUT