configure.ac 1.53 KB
Newer Older
1
AC_INIT([jhbuild],
Frederic Peters's avatar
Frederic Peters committed
2
        [3.2.1],
3 4
        [http://bugzilla.gnome.org/enter_bug.cgi?product=jhbuild],
        [jhbuild])
5

6
AC_CONFIG_SRCDIR(jhbuild/main.py)
7
AC_PREFIX_DEFAULT([~/.local/])
8
AC_CONFIG_MACRO_DIR([m4])
9
AC_CONFIG_AUX_DIR([build-aux])
10

Frederic Peters's avatar
Frederic Peters committed
11
AM_INIT_AUTOMAKE([1.11 -Wno-portability foreign no-define tar-ustar no-dist-gzip dist-xz])
12
AM_MAINTAINER_MODE([enable])
13

14 15
# Check for programs
AC_PROG_CC
16
AM_PATH_PYTHON
17
PKG_PROG_PKG_CONFIG
18

19
# i18n
20 21 22 23 24
IT_PROG_INTLTOOL([0.40.0])

AM_GNU_GETTEXT([external])
AM_GNU_GETTEXT_VERSION([0.17])

25
GETTEXT_PACKAGE=AC_PACKAGE_TARNAME
26 27 28
AC_SUBST([GETTEXT_PACKAGE])
AC_DEFINE_UNQUOTED([GETTEXT_PACKAGE], "$GETTEXT_PACKAGE", [Gettext package])

29 30 31 32 33 34
# Documentation
AC_ARG_ENABLE(
	doc_installation,
	AS_HELP_STRING([--enable-doc-installation=@<:@no/yes@:>@], [install the documentation files]),
	[enable_doc_installation=$enableval],
	[enable_doc_installation=no])
35
AM_CONDITIONAL([DOC_INSTALLATION_ENABLED],[test "x$enable_doc_installation" = "xyes"])
36 37
# pkg-config check below is disabled since documentation is optional
# PKG_CHECK_MODULES(gnome-doc-utils, gnome-doc-utils)
38 39
GNOME_DOC_INIT

40 41 42
AC_CONFIG_FILES([
	Makefile
	doc/Makefile
43
	examples/jhbuild.desktop
44
	po/Makefile.in
45
	scripts/Makefile
46
	triggers/Makefile
47
	jhbuild.desktop.in
48 49 50 51 52 53 54 55 56 57
	jhbuild/Makefile
	jhbuild/buildbot/Makefile
	jhbuild/buildbot/status/web/Makefile
	jhbuild/buildbot/status/Makefile
	jhbuild/commands/Makefile
	jhbuild/cut_n_paste/Makefile
	jhbuild/frontends/Makefile
	jhbuild/modtypes/Makefile
	jhbuild/utils/Makefile
	jhbuild/versioncontrol/Makefile
58
	buildbot/Makefile
59
])
60
AC_OUTPUT