Commit f5689774 authored by dkirov's avatar dkirov

adding some enable options.

using $(srcdir) for files refered by wildcars
parent 1a68b633
SUBDIRS = data src po
ACLOCAL_AMFLAGS = -I m4
bin_SCRIPTS = scripts/gajim
commonfilesdir = $(pkgdatadir)
......@@ -8,7 +11,7 @@ commonfiles_DATA = COPYING \
THANKS \
AUTHORS
EXTRA_DIST = \
EXTRA_DIST = config.rpath \
$(commonfiles_DATA) \
autogen.sh \
intltool-extract.in \
......
......@@ -39,13 +39,15 @@ build_triplet = @build@
host_triplet = @host@
DIST_COMMON = README $(am__configure_deps) $(srcdir)/Makefile.am \
$(srcdir)/Makefile.in $(srcdir)/config.h.in \
$(top_srcdir)/configure $(top_srcdir)/scripts/gajim.in AUTHORS \
COPYING ChangeLog INSTALL NEWS THANKS compile config.guess \
config.sub depcomp install-sh ltmain.sh missing mkinstalldirs
$(top_srcdir)/configure $(top_srcdir)/scripts/gajim.in \
ABOUT-NLS AUTHORS COPYING ChangeLog INSTALL NEWS THANKS \
compile config.guess config.rpath config.sub depcomp \
install-sh ltmain.sh missing mkinstalldirs
subdir = .
ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
am__aclocal_m4_deps = $(top_srcdir)/m4/glib-gettext.m4 \
$(top_srcdir)/m4/python.m4 $(top_srcdir)/configure.ac
$(top_srcdir)/m4/nls.m4 $(top_srcdir)/m4/python.m4 \
$(top_srcdir)/configure.ac
am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
$(ACLOCAL_M4)
am__CONFIG_DISTCLEAN_FILES = config.status config.cache config.log \
......@@ -98,6 +100,12 @@ AUTOMAKE = @AUTOMAKE@
AWK = @AWK@
BUILD_GTKSPELL_FALSE = @BUILD_GTKSPELL_FALSE@
BUILD_GTKSPELL_TRUE = @BUILD_GTKSPELL_TRUE@
BUILD_IDLE_FALSE = @BUILD_IDLE_FALSE@
BUILD_IDLE_TRUE = @BUILD_IDLE_TRUE@
BUILD_REMOTE_CONTROL_FALSE = @BUILD_REMOTE_CONTROL_FALSE@
BUILD_REMOTE_CONTROL_TRUE = @BUILD_REMOTE_CONTROL_TRUE@
BUILD_TRAYICON_FALSE = @BUILD_TRAYICON_FALSE@
BUILD_TRAYICON_TRUE = @BUILD_TRAYICON_TRUE@
CATALOGS = @CATALOGS@
CATOBJEXT = @CATOBJEXT@
CC = @CC@
......@@ -257,6 +265,7 @@ sharedstatedir = @sharedstatedir@
sysconfdir = @sysconfdir@
target_alias = @target_alias@
SUBDIRS = data src po
ACLOCAL_AMFLAGS = -I m4
bin_SCRIPTS = scripts/gajim
commonfilesdir = $(pkgdatadir)
commonfiles_DATA = COPYING \
......@@ -265,7 +274,7 @@ commonfiles_DATA = COPYING \
THANKS \
AUTHORS
EXTRA_DIST = \
EXTRA_DIST = config.rpath \
$(commonfiles_DATA) \
autogen.sh \
intltool-extract.in \
......@@ -289,15 +298,15 @@ $(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(am__confi
@for dep in $?; do \
case '$(am__configure_deps)' in \
*$$dep*) \
echo ' cd $(srcdir) && $(AUTOMAKE) --gnu '; \
cd $(srcdir) && $(AUTOMAKE) --gnu \
echo ' cd $(srcdir) && $(AUTOMAKE) --foreign '; \
cd $(srcdir) && $(AUTOMAKE) --foreign \
&& exit 0; \
exit 1;; \
esac; \
done; \
echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu Makefile'; \
echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign Makefile'; \
cd $(top_srcdir) && \
$(AUTOMAKE) --gnu Makefile
$(AUTOMAKE) --foreign Makefile
.PRECIOUS: Makefile
Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
@case '$?' in \
......
......@@ -7856,4 +7856,5 @@ AC_SUBST([am__untar])
]) # _AM_PROG_TAR
m4_include([m4/glib-gettext.m4])
m4_include([m4/nls.m4])
m4_include([m4/python.m4])
#!/bin/sh
aclocal -I ./m4 --force
autoconf
autoheader
automake --add-missing
aclocal -I ./m4 \
&& libtoolize --force --copy \
&& autoheader \
&& automake --add-missing --foreign --copy \
&& autoconf \
&& ./configure $@
......@@ -24,6 +24,9 @@
/* Define if your <locale.h> file defines LC_MESSAGES. */
#undef HAVE_LC_MESSAGES
/* Define to 1 if you have the <libintl.h> header file. */
#undef HAVE_LIBINTL_H
/* Define to 1 if you have the `X11' library (-lX11). */
#undef HAVE_LIBX11
......@@ -83,3 +86,6 @@
/* Version number of package */
#undef VERSION
/* Define to empty if `const' does not conform to ANSI C. */
#undef const
This diff is collapsed.
AC_INIT([Gajim],[0.11.0],[http://trac.gajim.org/newticket],[gajim])
AC_INIT([Gajim - A Jabber Instant Messager],
[0.11.0],[http://trac.gajim.org/],[gajim])
AM_INIT_AUTOMAKE([1.9])
AC_CONFIG_HEADER(config.h)
......@@ -6,7 +7,6 @@ AM_MAINTAINER_MODE
IT_PROG_INTLTOOL([0.35.0])
AM_DISABLE_STATIC
AC_ENABLE_SHARED(yes)
AC_ENABLE_STATIC(no)
......@@ -16,27 +16,55 @@ AC_PROG_CC
AC_PROG_INSTALL
AC_PROG_MAKE_SET
AC_PROG_LIBTOOL
AC_C_CONST
AC_CHECK_HEADERS([libintl.h])
AC_PATH_X
GETTEXT_PACKAGE=gajim
AC_SUBST([GETTEXT_PACKAGE])
AC_DEFINE_UNQUOTED([GETTEXT_PACKAGE],["$GETTEXT_PACKAGE"], [Gettext package])
ALL_LINGUAS="fr pt el pl es ru bg de nb cs nl pt_BR sv it eu sk no zh_CN br eo"
AM_GLIB_GNU_GETTEXT
AM_NLS
PKG_CHECK_MODULES([DBUS], [dbus-1 >= 0.61 dbus-glib-1 >= 0.61])
AC_SUBST(DBUS_CFLAGS)
AC_SUBST(DBUS_LIBS)
dnl ****
dnl pygtk and gtk+
dnl ****
PKG_CHECK_MODULES([PYGTK], [gtk+-2.0 >= 2.6.0 pygtk-2.0 >= 2.6.0])
AC_SUBST(PYGTK_CFLAGS)
AC_SUBST(PYGTK_LIBS)
PYGTK_DEFS=`$PKG_CONFIG --variable=defsdir pygtk-2.0`
AC_SUBST(PYGTK_DEFS)
dnl *****
dnl dbus
dnl *****
AC_ARG_ENABLE([remote],
[ --disable-remote enable remote control via DBus [default auto]],
enable_remote=$enableval, enable_remote=auto)
if test "x$enable_remote" = "xauto"; then
PKG_CHECK_EXISTS([dbus-1],enable_remote=yes,enable_remote=no)
fi
if test "x$enable_remote" = "xyes";then
PKG_CHECK_MODULES([DBUS], [dbus-1 >= 0.61 dbus-glib-1 >= 0.61])
AC_SUBST(DBUS_CFLAGS)
AC_SUBST(DBUS_LIBS)
have_remote=true
else
have_remote=false
fi
AM_CONDITIONAL(BUILD_REMOTE_CONTROL, $have_remote)
dnl ****
dnl gtkspell
dnl ****
AC_ARG_ENABLE(gtkspell,
[ --enable-gtkspell build spell checking support [default auto]],,
enable_gtkspell=auto)
[ --disable-gtkspell build spell checking support [default auto]],
enable_gtkspell=$enableval, enable_gtkspell=auto)
if test "x$enable_gtkspell" = "xauto";then
PKG_CHECK_EXISTS([gtkspell-2.0], [enable_gtkspell=yes], [enable_gtkspell=no])
......@@ -51,30 +79,57 @@ else
fi
AM_CONDITIONAL(BUILD_GTKSPELL, $have_gtkspell)
PKG_CHECK_EXISTS([xscrnsaver], [have_xscrnsaver=yes], [have_xscrnsaver=no])
if test "x$have_xscrnsaver" = "xyes";then
PKG_CHECK_MODULES([XSCRNSAVER], xscrnsaver)
AC_SUBST(XSCRNSAVER_LIBS)
dnl ****
dnl xscreensaver
dnl ****
AC_ARG_ENABLE([idle],
[ --disable-idle build idle module [default auto]],
enable_idle=$enableval, enable_idle=yes)
if test "x$enable_idle" = "xyes";then
PKG_CHECK_EXISTS([xscrnsaver], [have_xscrnsaver=yes], [have_xscrnsaver=no])
if test "x$have_xscrnsaver" = "xyes";then
PKG_CHECK_MODULES([XSCRNSAVER], xscrnsaver)
AC_SUBST(XSCRNSAVER_LIBS)
have_idle=true
else
# Checks for libraries.
AC_CHECK_LIB([X11], [XOpenDisplay])
AC_CHECK_LIB([Xext], [XMissingExtension])
AC_CHECK_LIB([Xss], [XScreenSaverAllocInfo])
XSCRNSAVER_LIBS="$LIBS"
AC_SUBST([XSCRNSAVER_LIBS])
if test "x$XSCRNSAVER_LIBS" = "x";then
have_idle=false
else
have_idle=true
fi
fi
else
# Checks for libraries.
AC_CHECK_LIB([X11], [XOpenDisplay])
AC_CHECK_LIB([Xext], [XMissingExtension])
AC_CHECK_LIB([Xss], [XScreenSaverAllocInfo])
XSCRNSAVER_LIBS=" -lX11 -lXss -lXext"
AC_SUBST([XSCRNSAVER_LIBS])
have_idle=false
fi
AM_CONDITIONAL(BUILD_IDLE, $have_idle)
AM_PATH_PYTHON([2.4])
if test "x$PYTHON" = "x:"; then
AC_MSG_ERROR([Python not found])
fi
dnl ****
dnl tray icon
dnl ****
AC_ARG_ENABLE(trayicon,
[ --disable-trayicon build trayicon module [default yes]],
enable_trayicon=$enableval, enable_trayicon=yes)
test "x$enable_trayicon" = "xyes" && have_trayicon=true || have_trayicon=false
AM_CONDITIONAL(BUILD_TRAYICON, $have_trayicon)
AM_CHECK_PYTHON_HEADERS(,[AC_MSG_ERROR(could not find Python headers)])
AC_SUBST([PYTHON_INCLUDES])
AC_CONFIG_FILES([
AC_CONFIG_FILES([
Makefile
data/Makefile
data/glade/Makefile
......@@ -88,4 +143,11 @@ AC_CONFIG_FILES([
po/Makefile.in
])
AC_OUTPUT
echo "
*****************************
Build features:
spell check ...... ${have_gtkspell}
idle module ...... ${have_idle}
remote control ... ${have_remote}
trayicon ......... ${have_trayicon}
*****************************"
......@@ -5,7 +5,7 @@ desktop_in_files = gajim.desktop.in.in
desktop_DATA = $(desktop_in_files:.desktop.in.in=.desktop)
soundsdir = $(pkgdatadir)/data/sounds
sounds_DATA = sounds/*.wav
sounds_DATA = $(srcdir)/sounds/*.wav
otherdir = $(pkgdatadir)/data/others
other_DATA = other/servers.xml
......
......@@ -41,7 +41,8 @@ DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in \
$(srcdir)/gajim.desktop.in.in
ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
am__aclocal_m4_deps = $(top_srcdir)/m4/glib-gettext.m4 \
$(top_srcdir)/m4/python.m4 $(top_srcdir)/configure.ac
$(top_srcdir)/m4/nls.m4 $(top_srcdir)/m4/python.m4 \
$(top_srcdir)/configure.ac
am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
$(ACLOCAL_M4)
mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
......@@ -86,6 +87,12 @@ AUTOMAKE = @AUTOMAKE@
AWK = @AWK@
BUILD_GTKSPELL_FALSE = @BUILD_GTKSPELL_FALSE@
BUILD_GTKSPELL_TRUE = @BUILD_GTKSPELL_TRUE@
BUILD_IDLE_FALSE = @BUILD_IDLE_FALSE@
BUILD_IDLE_TRUE = @BUILD_IDLE_TRUE@
BUILD_REMOTE_CONTROL_FALSE = @BUILD_REMOTE_CONTROL_FALSE@
BUILD_REMOTE_CONTROL_TRUE = @BUILD_REMOTE_CONTROL_TRUE@
BUILD_TRAYICON_FALSE = @BUILD_TRAYICON_FALSE@
BUILD_TRAYICON_TRUE = @BUILD_TRAYICON_TRUE@
CATALOGS = @CATALOGS@
CATOBJEXT = @CATOBJEXT@
CC = @CC@
......@@ -249,7 +256,7 @@ desktopdir = $(datadir)/applications
desktop_in_files = gajim.desktop.in.in
desktop_DATA = $(desktop_in_files:.desktop.in.in=.desktop)
soundsdir = $(pkgdatadir)/data/sounds
sounds_DATA = sounds/*.wav
sounds_DATA = $(srcdir)/sounds/*.wav
otherdir = $(pkgdatadir)/data/others
other_DATA = other/servers.xml
man_MANS = gajim.1 gajim-remote.1
......@@ -271,9 +278,9 @@ $(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(am__confi
exit 1;; \
esac; \
done; \
echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu data/Makefile'; \
echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign data/Makefile'; \
cd $(top_srcdir) && \
$(AUTOMAKE) --gnu data/Makefile
$(AUTOMAKE) --foreign data/Makefile
.PRECIOUS: Makefile
Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
@case '$?' in \
......@@ -533,7 +540,7 @@ distclean-tags:
-rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
distdir: $(DISTFILES)
$(mkdir_p) $(distdir)/other $(distdir)/sounds
$(mkdir_p) $(distdir)/$(srcdir)/sounds $(distdir)/other
@srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \
topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \
list='$(DISTFILES)'; for file in $$list; do \
......
......@@ -40,7 +40,8 @@ subdir = data/emoticons
DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in
ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
am__aclocal_m4_deps = $(top_srcdir)/m4/glib-gettext.m4 \
$(top_srcdir)/m4/python.m4 $(top_srcdir)/configure.ac
$(top_srcdir)/m4/nls.m4 $(top_srcdir)/m4/python.m4 \
$(top_srcdir)/configure.ac
am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
$(ACLOCAL_M4)
mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
......@@ -70,6 +71,12 @@ AUTOMAKE = @AUTOMAKE@
AWK = @AWK@
BUILD_GTKSPELL_FALSE = @BUILD_GTKSPELL_FALSE@
BUILD_GTKSPELL_TRUE = @BUILD_GTKSPELL_TRUE@
BUILD_IDLE_FALSE = @BUILD_IDLE_FALSE@
BUILD_IDLE_TRUE = @BUILD_IDLE_TRUE@
BUILD_REMOTE_CONTROL_FALSE = @BUILD_REMOTE_CONTROL_FALSE@
BUILD_REMOTE_CONTROL_TRUE = @BUILD_REMOTE_CONTROL_TRUE@
BUILD_TRAYICON_FALSE = @BUILD_TRAYICON_FALSE@
BUILD_TRAYICON_TRUE = @BUILD_TRAYICON_TRUE@
CATALOGS = @CATALOGS@
CATOBJEXT = @CATOBJEXT@
CC = @CC@
......@@ -244,9 +251,9 @@ $(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(am__confi
exit 1;; \
esac; \
done; \
echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu data/emoticons/Makefile'; \
echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign data/emoticons/Makefile'; \
cd $(top_srcdir) && \
$(AUTOMAKE) --gnu data/emoticons/Makefile
$(AUTOMAKE) --foreign data/emoticons/Makefile
.PRECIOUS: Makefile
Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
@case '$?' in \
......
gladedir = $(pkgdatadir)/data/glade
glade_DATA = *.glade
glade_DATA = $(srcdir)/*.glade
EXTRA_DIST = $(glade_DATA)
DISTCLEANFILES = *.h
......@@ -40,7 +40,8 @@ subdir = data/glade
DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in
ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
am__aclocal_m4_deps = $(top_srcdir)/m4/glib-gettext.m4 \
$(top_srcdir)/m4/python.m4 $(top_srcdir)/configure.ac
$(top_srcdir)/m4/nls.m4 $(top_srcdir)/m4/python.m4 \
$(top_srcdir)/configure.ac
am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
$(ACLOCAL_M4)
mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
......@@ -70,6 +71,12 @@ AUTOMAKE = @AUTOMAKE@
AWK = @AWK@
BUILD_GTKSPELL_FALSE = @BUILD_GTKSPELL_FALSE@
BUILD_GTKSPELL_TRUE = @BUILD_GTKSPELL_TRUE@
BUILD_IDLE_FALSE = @BUILD_IDLE_FALSE@
BUILD_IDLE_TRUE = @BUILD_IDLE_TRUE@
BUILD_REMOTE_CONTROL_FALSE = @BUILD_REMOTE_CONTROL_FALSE@
BUILD_REMOTE_CONTROL_TRUE = @BUILD_REMOTE_CONTROL_TRUE@
BUILD_TRAYICON_FALSE = @BUILD_TRAYICON_FALSE@
BUILD_TRAYICON_TRUE = @BUILD_TRAYICON_TRUE@
CATALOGS = @CATALOGS@
CATOBJEXT = @CATOBJEXT@
CC = @CC@
......@@ -229,7 +236,7 @@ sharedstatedir = @sharedstatedir@
sysconfdir = @sysconfdir@
target_alias = @target_alias@
gladedir = $(pkgdatadir)/data/glade
glade_DATA = *.glade
glade_DATA = $(srcdir)/*.glade
EXTRA_DIST = $(glade_DATA)
DISTCLEANFILES = *.h
all: all-am
......@@ -244,9 +251,9 @@ $(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(am__confi
exit 1;; \
esac; \
done; \
echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu data/glade/Makefile'; \
echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign data/glade/Makefile'; \
cd $(top_srcdir) && \
$(AUTOMAKE) --gnu data/glade/Makefile
$(AUTOMAKE) --foreign data/glade/Makefile
.PRECIOUS: Makefile
Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
@case '$?' in \
......@@ -299,6 +306,7 @@ CTAGS:
distdir: $(DISTFILES)
$(mkdir_p) $(distdir)/$(srcdir)
@srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \
topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \
list='$(DISTFILES)'; for file in $$list; do \
......
......@@ -40,7 +40,8 @@ subdir = data/iconsets
DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in
ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
am__aclocal_m4_deps = $(top_srcdir)/m4/glib-gettext.m4 \
$(top_srcdir)/m4/python.m4 $(top_srcdir)/configure.ac
$(top_srcdir)/m4/nls.m4 $(top_srcdir)/m4/python.m4 \
$(top_srcdir)/configure.ac
am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
$(ACLOCAL_M4)
mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
......@@ -70,6 +71,12 @@ AUTOMAKE = @AUTOMAKE@
AWK = @AWK@
BUILD_GTKSPELL_FALSE = @BUILD_GTKSPELL_FALSE@
BUILD_GTKSPELL_TRUE = @BUILD_GTKSPELL_TRUE@
BUILD_IDLE_FALSE = @BUILD_IDLE_FALSE@
BUILD_IDLE_TRUE = @BUILD_IDLE_TRUE@
BUILD_REMOTE_CONTROL_FALSE = @BUILD_REMOTE_CONTROL_FALSE@
BUILD_REMOTE_CONTROL_TRUE = @BUILD_REMOTE_CONTROL_TRUE@
BUILD_TRAYICON_FALSE = @BUILD_TRAYICON_FALSE@
BUILD_TRAYICON_TRUE = @BUILD_TRAYICON_TRUE@
CATALOGS = @CATALOGS@
CATOBJEXT = @CATOBJEXT@
CC = @CC@
......@@ -248,9 +255,9 @@ $(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(am__confi
exit 1;; \
esac; \
done; \
echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu data/iconsets/Makefile'; \
echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign data/iconsets/Makefile'; \
cd $(top_srcdir) && \
$(AUTOMAKE) --gnu data/iconsets/Makefile
$(AUTOMAKE) --foreign data/iconsets/Makefile
.PRECIOUS: Makefile
Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
@case '$?' in \
......
pixmapsdir = $(pkgdatadir)/data/pixmaps
pixmaps_DATA = *.png \
pixmaps_DATA = $(srcdir)/*.png \
gajim.ico \
events/*.png \
agents/*.png
$(srcdir)/events/*.png \
$(srcdir)/agents/*.png
EXTRA_DIST = $(pixmaps_DATA)
......@@ -40,7 +40,8 @@ subdir = data/pixmaps
DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in
ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
am__aclocal_m4_deps = $(top_srcdir)/m4/glib-gettext.m4 \
$(top_srcdir)/m4/python.m4 $(top_srcdir)/configure.ac
$(top_srcdir)/m4/nls.m4 $(top_srcdir)/m4/python.m4 \
$(top_srcdir)/configure.ac
am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
$(ACLOCAL_M4)
mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
......@@ -70,6 +71,12 @@ AUTOMAKE = @AUTOMAKE@
AWK = @AWK@
BUILD_GTKSPELL_FALSE = @BUILD_GTKSPELL_FALSE@
BUILD_GTKSPELL_TRUE = @BUILD_GTKSPELL_TRUE@
BUILD_IDLE_FALSE = @BUILD_IDLE_FALSE@
BUILD_IDLE_TRUE = @BUILD_IDLE_TRUE@
BUILD_REMOTE_CONTROL_FALSE = @BUILD_REMOTE_CONTROL_FALSE@
BUILD_REMOTE_CONTROL_TRUE = @BUILD_REMOTE_CONTROL_TRUE@
BUILD_TRAYICON_FALSE = @BUILD_TRAYICON_FALSE@
BUILD_TRAYICON_TRUE = @BUILD_TRAYICON_TRUE@
CATALOGS = @CATALOGS@
CATOBJEXT = @CATOBJEXT@
CC = @CC@
......@@ -229,10 +236,10 @@ sharedstatedir = @sharedstatedir@
sysconfdir = @sysconfdir@
target_alias = @target_alias@
pixmapsdir = $(pkgdatadir)/data/pixmaps
pixmaps_DATA = *.png \
pixmaps_DATA = $(srcdir)/*.png \
gajim.ico \
events/*.png \
agents/*.png
$(srcdir)/events/*.png \
$(srcdir)/agents/*.png
EXTRA_DIST = $(pixmaps_DATA)
all: all-am
......@@ -247,9 +254,9 @@ $(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(am__confi
exit 1;; \
esac; \
done; \
echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu data/pixmaps/Makefile'; \
echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign data/pixmaps/Makefile'; \
cd $(top_srcdir) && \
$(AUTOMAKE) --gnu data/pixmaps/Makefile
$(AUTOMAKE) --foreign data/pixmaps/Makefile
.PRECIOUS: Makefile
Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
@case '$?' in \
......@@ -302,7 +309,7 @@ CTAGS:
distdir: $(DISTFILES)
$(mkdir_p) $(distdir)/agents $(distdir)/events
$(mkdir_p) $(distdir)/$(srcdir) $(distdir)/$(srcdir)/agents $(distdir)/$(srcdir)/events
@srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \
topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \
list='$(DISTFILES)'; for file in $$list; do \
......
# nls.m4 serial 3 (gettext-0.15)
dnl Copyright (C) 1995-2003, 2005-2006 Free Software Foundation, Inc.
dnl This file is free software; the Free Software Foundation
dnl gives unlimited permission to copy and/or distribute it,
dnl with or without modifications, as long as this notice is preserved.
dnl
dnl This file can can be used in projects which are not available under
dnl the GNU General Public License or the GNU Library General Public
dnl License but which still want to provide support for the GNU gettext
dnl functionality.
dnl Please note that the actual code of the GNU gettext library is covered
dnl by the GNU Library General Public License, and the rest of the GNU
dnl gettext package package is covered by the GNU General Public License.
dnl They are *not* in the public domain.
dnl Authors:
dnl Ulrich Drepper <drepper@cygnus.com>, 1995-2000.
dnl Bruno Haible <haible@clisp.cons.org>, 2000-2003.
AC_PREREQ(2.50)
AC_DEFUN([AM_NLS],
[
AC_MSG_CHECKING([whether NLS is requested])
dnl Default is enabled NLS
AC_ARG_ENABLE(nls,
[ --disable-nls do not use Native Language Support],
USE_NLS=$enableval, USE_NLS=yes)
AC_MSG_RESULT($USE_NLS)
AC_SUBST(USE_NLS)
])
# ls gajim.desktop.in src/gtkgui.glade.h src/history_manager.glade.h
# src/*py src/common/*py -1 -U in trunk
# ls data/gajim.desktop.in.in data/glade/*.glade src/*py
# src/common/*py src/common/zeroconf/*.py -1 -U
# to produce this list
[encoding: UTF-8]
gajim.desktop.in
data/glade/account_context_menu.glade.h
data/glade/account_creation_wizard_window.glade.h
data/glade/account_modification_window.glade.h
data/glade/accounts_window.glade.h
data/glade/add_new_contact_window.glade.h
data/glade/advanced_configuration_window.glade.h
data/glade/advanced_menuitem_menu.glade.h
data/glade/advanced_notifications_window.glade.h
data/glade/change_password_dialog.glade.h
data/glade/change_status_message_dialog.glade.h
data/glade/chat_context_menu.glade.h
data/glade/chat_control_popup_menu.glade.h
data/glade/choose_gpg_key_dialog.glade.h
data/glade/data_form_window.glade.h
data/glade/edit_groups_dialog.glade.h
data/glade/filetransfers.glade.h
data/glade/gajim_themes_window.glade.h
data/glade/gc_control_popup_menu.glade.h
data/glade/gc_occupants_menu.glade.h
data/glade/history_manager.glade.h
data/glade/history_window.glade.h
data/glade/input_dialog.glade.h
data/glade/invitation_received_dialog.glade.h
data/glade/join_groupchat_window.glade.h
data/glade/manage_accounts_window.glade.h
data/glade/manage_bookmarks_window.glade.h
data/glade/manage_proxies_window.glade.h
data/glade/message_window.glade.h
data/glade/passphrase_dialog.glade.h
data/glade/popup_notification_window.glade.h
data/glade/preferences_window.glade.h
data/glade/privacy_list_window.glade.h
data/glade/privacy_lists_window.glade.h
data/glade/profile_window.glade.h
data/glade/progress_dialog.glade.h
data/glade/remove_account_window.glade.h
data/glade/roster_contact_context_menu.glade.h
data/glade/roster_window.glade.h
data/glade/service_discovery_window.glade.h
data/glade/service_registration_window.glade.h
data/glade/single_message_window.glade.h
data/glade/subscription_request_window.glade.h
data/glade/systray_context_menu.glade.h
data/glade/vcard_information_window.glade.h
data/glade/xml_console_window.glade.h
data/gajim.desktop.in.in
data/glade/account_context_menu.glade
data/glade/account_creation_wizard_window.glade
data/glade/account_modification_window.glade
data/glade/accounts_window.glade
data/glade/add_new_contact_window.glade
data/glade/advanced_configuration_window.glade
data/glade/advanced_menuitem_menu.glade
data/glade/advanced_notifications_window.glade
data/glade/change_password_dialog.glade
data/glade/change_status_message_dialog.glade
data/glade/chat_context_menu.glade
data/glade/chat_control_popup_menu.glade
data/glade/choose_gpg_key_dialog.glade
data/glade/data_form_window.glade
data/glade/edit_groups_dialog.glade
data/glade/filetransfers.glade
data/glade/gajim_themes_window.glade
data/glade/gc_control_popup_menu.glade
data/glade/gc_occupants_menu.glade
data/glade/history_manager.glade
data/glade/history_window.glade
data/glade/input_dialog.glade
data/glade/invitation_received_dialog.glade
data/glade/join_groupchat_window.glade
data/glade/manage_accounts_window.glade
data/glade/manage_bookmarks_window.glade
data/glade/manage_proxies_window.glade
data/glade/message_window.glade
data/glade/passphrase_dialog.glade
data/glade/popup_notification_window.glade
data/glade/preferences_window.glade
data/glade/privacy_lists_window.glade
data/glade/privacy_list_window.glade
data/glade/profile_window.glade
data/glade/progress_dialog.glade
data/glade/remove_account_window.glade
data/glade/roster_contact_context_menu.glade
data/glade/roster_window.glade
data/glade/service_discovery_window.glade
data/glade/service_registration_window.glade
data/glade/single_message_window.glade
data/glade/subscription_request_popup_menu.glade
data/glade/subscription_request_window.glade
data/glade/systray_context_menu.glade
data/glade/vcard_information_window.glade
data/glade/xml_console_window.glade
data/glade/zeroconf_contact_context_menu.glade
data/glade/zeroconf_context_menu.glade
data/glade/zeroconf_information_window.glade
data/glade/zeroconf_properties_window.glade
src/advanced.py
src/cell_renderer_image.py
src/chat_control.py
......@@ -58,35 +63,52 @@ src/dbus_support.py
src/dialogs.py
src/disco.py
src/filetransfers_window.py
src/gajim-remote.py
src/gajim.py
src/gajim-remote.py
src/gajim_themes_window.py
src/groupchat_control.py
src/gtkexcepthook.py
src/gtkgui_helpers.py
src/history_manager.py
src/history_window.py
src/htmltextview.py
src/message_control.py
src/message_textview.py
src/message_window.py
src/music_track_listener.py
src/notify.py
src/profile_window.py
src/remote_control.py
src/roster_window.py
src/rst_xhtml_generator.py
src/systray.py
src/systraywin32.py
src/tooltips.py
src/vcard.py
src/common/check_paths.py
src/common/exceptions.py
src/common/GnuPG.py
src/common/GnuPGInterface.py
src/common/config.py
src/common/connection.py
src/common/connection_handlers.py
src/common/connection.py
src/common/contacts.py
src/common/dbus_support.py
src/common/events.py
src/common/exceptions.py
src/common/fuzzyclock.py
src/common/gajim.py
src/common/GnuPGInterface.py
src/common/GnuPG.py
src/common/helpers.py
src/common/i18n.py
src/common/__init__.py
src/common/logger.py
src/common/nslookup.py
src/common/optparser.py
src/common/proxy65_manager.py
src/common/sleepy.py
src/common/socks5.py
src/common/xmpp_stringprep.py
src/common/zeroconf/client_zeroconf.py
src/common/zeroconf/connection_handlers_zeroconf.py
src/common/zeroconf/connection_zeroconf.py
src/common/zeroconf/__init__.py
src/common/zeroconf/roster_zeroconf.py
......@@ -20,7 +20,7 @@ gtkspell_la_LDFLAGS = \
gtkspell_la_CFLAGS = $(GTKSPELL_CFLAGS) $(PYGTK_CFLAGS)
endif
if BUILD_TRAYICON
trayiconlib_LTLIBRARIES = trayicon.la
trayiconlibdir = $(libdir)/gajim
trayicon_la_LIBADD = $(PYGTK_LIBS)
......@@ -33,27 +33,27 @@ trayicon_la_LDFLAGS = \
-module -avoid-version
trayicon_la_CFLAGS = $(PYGTK_CFLAGS)
trayicon.c: trayicon.defs trayicon.override
trayicon.c:
pygtk-codegen-2.0 --prefix trayicon \
--register $(PYGTK_DEFS)/gdk-types.defs \
--register $(PYGTK_DEFS)/gtk-types.defs \
--override trayicon.override \
trayicon.defs > $@
--override $(srcdir)/trayicon.override \
$(srcdir)/trayicon.defs > $@
endif
gajimsrcdir = $(pkgdatadir)/src
gajimsrc_DATA = *.py
gajimsrc_DATA = $(srcdir)/*.py
gajimsrc1dir = $(pkgdatadir)/src/common
gajimsrc1_DATA = \
common/*.py
$(srcdir)/common/*.py
gajimsrc2dir = $(pkgdatadir)/src/common/xmpp
gajimsrc2_DATA = \
common/xmpp/*.py
$(srcdir)/common/xmpp/*.py
gajimsrc3dir = $(pkgdatadir)/src/common/zeroconf