1 AC_INIT([Gajim - A Jabber Instant Messager],
2 ["version-set-in-hgversion"],[http://trac.gajim.org/],[gajim])
5 AC_CONFIG_HEADER(config.h)
6 AC_CONFIG_AUX_DIR(config)
7 AC_CONFIG_MACRO_DIR([m4])
9 AM_INIT_AUTOMAKE([1.8])
12 IT_PROG_INTLTOOL([0.35.0])
13 PKG_PROG_PKG_CONFIG([0.19])
25 AC_CHECK_HEADERS([libintl.h])
30 AC_SUBST([GETTEXT_PACKAGE])
31 AC_DEFINE_UNQUOTED([GETTEXT_PACKAGE],["$GETTEXT_PACKAGE"], [Gettext package])
36 ACLOCAL_AMFLAGS="\${ACLOCAL_FLAGS}"
37 AC_SUBST(ACLOCAL_AMFLAGS)
42 dnl enable installation in python-2.x/site-packages/gajim
44 AC_ARG_ENABLE(site-packages,
45 [AS_HELP_STRING([--enable-site-packages],
46 [install gajim sources in PYTHONDIR/site-packages/gajim
47 instead of DATADIR/gajim/src.])]
49 AC_SUBST([gajim_srcdir], [\${pkgpythondir}])
50 AC_SUBST([gajim_pluginsdir], [\${pkgpythondir}])
52 AC_SUBST([gajim_srcdir], [\${datadir}/\${PACKAGE}/src])
53 AC_SUBST([gajim_pluginsdir], [\${datadir}/\${PACKAGE}/plugins])
56 AS_AC_EXPAND(GAJIM_SRCDIR, "${gajim_srcdir}")
57 AS_AC_EXPAND(PKGDATADIR, "${datadir}/${PACKAGE}")
58 AS_AC_EXPAND(DOCDIR, "${docdir}")
59 AS_AC_EXPAND(LOCALEDIR, "${localedir}")
60 AS_AC_EXPAND(GAJIM_PLUGINSDIR, "${gajim_pluginsdir}")
69 data/emoticons/Makefile
71 data/iconsets/Makefile
73 data/activities/Makefile
79 scripts/gajim-remote:scripts/gajim.in
80 scripts/gajim-history-manager:scripts/gajim.in
86 *****************************
88 Prefix ........... ${prefix}
89 Python modules ... ${GAJIM_SRCDIR}
90 Plugins .. ....... ${GAJIM_PLUGINSDIR}
91 Documentation .... ${DOCDIR}
92 Others ........... ${PKGDATADIR}
93 *****************************"