[2.28] branch gnome-themes
[jhbuild.git] / configure.ac
blobb38301a740a5a950c4cc806bc8372916c94c1912
1 AC_INIT([jhbuild], [2.27.91],
2                 [http://bugzilla.gnome.org/enter_bug.cgi?product=jhbuild])
3 AC_CONFIG_SRCDIR(jhbuild/main.py)
4 AM_INIT_AUTOMAKE
5 GNOME_COMMON_INIT
6 AM_MAINTAINER_MODE
7 AC_PREFIX_DEFAULT(~/.local/)
9 AM_PATH_PYTHON
11 # i18n
12 GETTEXT_PACKAGE="jhbuild"
13 AC_SUBST([GETTEXT_PACKAGE])
14 AC_DEFINE_UNQUOTED([GETTEXT_PACKAGE], "$GETTEXT_PACKAGE", [Gettext package])
15 AM_GLIB_GNU_GETTEXT
16 IT_PROG_INTLTOOL([0.35.0])
18 AC_PROG_CC
19 PKG_PROG_PKG_CONFIG
21 # Documentation
22 AC_ARG_ENABLE(
23         doc_installation,
24         AS_HELP_STRING([--enable-doc-installation=@<:@no/yes@:>@], [install the documentation files]),
25         [enable_doc_installation=$enableval],
26         [enable_doc_installation=no])
27 AM_CONDITIONAL([DOC_INSTALLATION_ENABLED],[test "x$enable_doc_installation" = "xyes"])
28 # pkg-config check below is disabled since documentation is optional
29 # PKG_CHECK_MODULES(gnome-doc-utils, gnome-doc-utils)
30 GNOME_DOC_INIT
32 AC_CONFIG_FILES([
33         Makefile
34         doc/Makefile
35         po/Makefile.in
36         scripts/Makefile
37         jhbuild/Makefile
38         jhbuild/buildbot/Makefile
39         jhbuild/buildbot/status/web/Makefile
40         jhbuild/buildbot/status/Makefile
41         jhbuild/commands/Makefile
42         jhbuild/cut_n_paste/Makefile
43         jhbuild/frontends/Makefile
44         jhbuild/modtypes/Makefile
45         jhbuild/utils/Makefile
46         jhbuild/versioncontrol/Makefile
47         buildbot/Makefile
49 AC_OUTPUT([
50         jhbuild.desktop.in