2006-10-05 17:08:07 +02:00
|
|
|
AC_INIT([Gajim - A Jabber Instant Messager],
|
2010-08-09 13:09:13 +02:00
|
|
|
["version-set-in-hgversion"],[http://trac.gajim.org/],[gajim])
|
2006-10-11 14:37:08 +02:00
|
|
|
AC_PREREQ([2.59])
|
2009-01-11 19:14:06 +01:00
|
|
|
|
2006-10-04 02:10:49 +02:00
|
|
|
AC_CONFIG_HEADER(config.h)
|
2009-01-11 19:14:06 +01:00
|
|
|
AC_CONFIG_AUX_DIR(config)
|
2006-10-12 01:30:02 +02:00
|
|
|
AC_CONFIG_MACRO_DIR([m4])
|
2009-01-11 19:14:06 +01:00
|
|
|
|
|
|
|
AM_INIT_AUTOMAKE([1.8])
|
2006-10-04 02:10:49 +02:00
|
|
|
AM_MAINTAINER_MODE
|
|
|
|
|
|
|
|
IT_PROG_INTLTOOL([0.35.0])
|
2006-10-15 12:32:17 +02:00
|
|
|
PKG_PROG_PKG_CONFIG([0.19])
|
2006-10-04 02:10:49 +02:00
|
|
|
|
|
|
|
AM_DISABLE_STATIC
|
|
|
|
AC_ENABLE_SHARED(yes)
|
|
|
|
AC_ENABLE_STATIC(no)
|
|
|
|
|
|
|
|
AC_ISC_POSIX
|
|
|
|
AC_PROG_CC
|
|
|
|
AC_PROG_INSTALL
|
|
|
|
AC_PROG_MAKE_SET
|
|
|
|
AC_PROG_LIBTOOL
|
2006-10-05 17:08:07 +02:00
|
|
|
AC_C_CONST
|
|
|
|
AC_CHECK_HEADERS([libintl.h])
|
2006-10-04 14:22:37 +02:00
|
|
|
AC_PATH_X
|
2006-10-04 02:10:49 +02:00
|
|
|
|
2006-10-05 17:08:07 +02:00
|
|
|
|
2006-10-04 02:10:49 +02:00
|
|
|
GETTEXT_PACKAGE=gajim
|
|
|
|
AC_SUBST([GETTEXT_PACKAGE])
|
|
|
|
AC_DEFINE_UNQUOTED([GETTEXT_PACKAGE],["$GETTEXT_PACKAGE"], [Gettext package])
|
|
|
|
AM_GLIB_GNU_GETTEXT
|
2006-10-05 17:08:07 +02:00
|
|
|
AM_NLS
|
2006-10-04 02:10:49 +02:00
|
|
|
|
|
|
|
|
2006-10-12 01:30:02 +02:00
|
|
|
ACLOCAL_AMFLAGS="\${ACLOCAL_FLAGS}"
|
|
|
|
AC_SUBST(ACLOCAL_AMFLAGS)
|
|
|
|
|
2011-01-04 11:08:26 +01:00
|
|
|
AM_PATH_PYTHON([2.5])
|
2006-10-04 02:10:49 +02:00
|
|
|
|
2009-11-28 12:54:44 +01:00
|
|
|
dnl ****
|
|
|
|
dnl enable installation in python-2.x/site-packages/gajim
|
|
|
|
dnl ****
|
|
|
|
AC_ARG_ENABLE(site-packages,
|
|
|
|
[AS_HELP_STRING([--enable-site-packages],
|
|
|
|
[install gajim sources in PYTHONDIR/site-packages/gajim
|
|
|
|
instead of DATADIR/gajim/src.])]
|
|
|
|
,
|
|
|
|
AC_SUBST([gajim_srcdir], [\${pkgpythondir}])
|
2010-07-29 10:10:06 +02:00
|
|
|
AC_SUBST([gajim_pluginsdir], [\${pkgpythondir}])
|
2009-11-28 12:54:44 +01:00
|
|
|
,
|
2009-11-28 12:54:30 +01:00
|
|
|
AC_SUBST([gajim_srcdir], [\${datadir}/\${PACKAGE}/src])
|
2010-07-29 10:10:06 +02:00
|
|
|
AC_SUBST([gajim_pluginsdir], [\${datadir}/\${PACKAGE}/plugins])
|
2009-11-28 12:54:44 +01:00
|
|
|
)
|
2009-11-28 12:54:30 +01:00
|
|
|
|
|
|
|
AS_AC_EXPAND(GAJIM_SRCDIR, "${gajim_srcdir}")
|
2009-11-28 12:54:41 +01:00
|
|
|
AS_AC_EXPAND(PKGDATADIR, "${datadir}/${PACKAGE}")
|
2006-10-11 19:40:56 +02:00
|
|
|
AS_AC_EXPAND(DOCDIR, "${docdir}")
|
2009-02-11 11:46:07 +01:00
|
|
|
AS_AC_EXPAND(LOCALEDIR, "${localedir}")
|
2010-07-29 10:10:06 +02:00
|
|
|
AS_AC_EXPAND(GAJIM_PLUGINSDIR, "${gajim_pluginsdir}")
|
2006-10-11 19:40:56 +02:00
|
|
|
|
|
|
|
AC_SUBST(VERSION)
|
|
|
|
AC_SUBST(PACKAGE)
|
|
|
|
|
2006-10-05 17:08:07 +02:00
|
|
|
AC_CONFIG_FILES([
|
2006-10-04 02:10:49 +02:00
|
|
|
Makefile
|
|
|
|
data/Makefile
|
2010-01-22 19:57:59 +01:00
|
|
|
data/gui/Makefile
|
2006-10-04 02:10:49 +02:00
|
|
|
data/emoticons/Makefile
|
|
|
|
data/pixmaps/Makefile
|
|
|
|
data/iconsets/Makefile
|
2008-07-23 02:05:23 +02:00
|
|
|
data/moods/Makefile
|
2008-07-28 19:02:01 +02:00
|
|
|
data/activities/Makefile
|
2009-11-28 09:09:48 +01:00
|
|
|
icons/Makefile
|
2006-10-04 02:10:49 +02:00
|
|
|
data/gajim.desktop.in
|
2006-10-13 10:15:20 +02:00
|
|
|
data/defs.py
|
2006-10-04 02:10:49 +02:00
|
|
|
src/Makefile
|
|
|
|
scripts/gajim
|
2009-02-17 13:29:54 +01:00
|
|
|
scripts/gajim-remote:scripts/gajim.in
|
|
|
|
scripts/gajim-history-manager:scripts/gajim.in
|
2006-10-04 02:10:49 +02:00
|
|
|
po/Makefile.in
|
2011-11-21 16:30:28 +01:00
|
|
|
plugins/Makefile
|
2006-10-04 02:10:49 +02:00
|
|
|
])
|
|
|
|
AC_OUTPUT
|
2009-11-28 12:54:30 +01:00
|
|
|
echo "
|
|
|
|
*****************************
|
|
|
|
Installation:
|
|
|
|
Prefix ........... ${prefix}
|
|
|
|
Python modules ... ${GAJIM_SRCDIR}
|
2010-07-29 10:10:06 +02:00
|
|
|
Plugins .. ....... ${GAJIM_PLUGINSDIR}
|
2009-11-28 12:54:30 +01:00
|
|
|
Documentation .... ${DOCDIR}
|
2009-11-28 12:54:41 +01:00
|
|
|
Others ........... ${PKGDATADIR}
|
2009-11-28 12:54:30 +01:00
|
|
|
*****************************"
|
|
|
|
|