From 5081616aca6e59621b586838d7cd8fcc00f5d5e2 Mon Sep 17 00:00:00 2001
From: Dimitur Kirov <dkirov@gmail.com>
Date: Wed, 11 Oct 2006 23:30:02 +0000
Subject: [PATCH] try to make it work with automake-1.8

---
 configure.ac | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)

diff --git a/configure.ac b/configure.ac
index 008e89e785..90971a801f 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1,9 +1,9 @@
 AC_INIT([Gajim - A Jabber Instant Messager],
 		[0.11.0],[http://trac.gajim.org/],[gajim])
 AC_PREREQ([2.59])
-AM_INIT_AUTOMAKE([1.9])
+AM_INIT_AUTOMAKE([1.8])
 AC_CONFIG_HEADER(config.h)
-
+AC_CONFIG_MACRO_DIR([m4])
 AM_MAINTAINER_MODE
 
 IT_PROG_INTLTOOL([0.35.0])
@@ -126,6 +126,9 @@ AC_ARG_ENABLE(trayicon,
 test "x$enable_trayicon" = "xyes" && have_trayicon=true || have_trayicon=false
 AM_CONDITIONAL(BUILD_TRAYICON, $have_trayicon)
 
+ACLOCAL_AMFLAGS="\${ACLOCAL_FLAGS}"
+AC_SUBST(ACLOCAL_AMFLAGS)
+
 AM_CHECK_PYTHON_HEADERS(,[AC_MSG_ERROR(could not find Python headers)])
 AC_SUBST([PYTHON_INCLUDES])
 
-- 
GitLab