[anjuta] build: Allow building with automake-1.10



commit d44cec6e97cd0d656a48ccbe5dab5ab78b8f2985
Author: Johannes Schmid <jhs gnome org>
Date:   Mon Nov 8 11:06:20 2010 +0100

    build: Allow building with automake-1.10
    
    Makes building with jhbuild easier

 configure.ac |    7 ++++---
 1 files changed, 4 insertions(+), 3 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index cb19279..e09a041 100644
--- a/configure.ac
+++ b/configure.ac
@@ -68,10 +68,10 @@ SVN_MINOR=5
 SVN_PATCH=0
 SUBVERSION_REQUIRED=$SVN_MAJOR.$SVN_MINOR.$SVN_PATCH
 
-AM_INIT_AUTOMAKE([1.11 dist-bzip2 no-dist-gzip])
+AM_INIT_AUTOMAKE([1.10 dist-bzip2 no-dist-gzip])
 AM_MAINTAINER_MODE([enable])
 
-AM_SILENT_RULES([yes])
+m4_ifdef([AM_SILENT_RULES], [AM_SILENT_RULES([yes])])
 
 dnl Check for C Compiler
 AC_PROG_CC
@@ -163,7 +163,8 @@ dnl Check for autogen
 dnl -----------------
 AC_PATH_PROG(AUTOGEN_PATH, autogen,no)
 if test x$AUTOGEN_PATH = xno; then
-   AC_MSG_ERROR([Couldn't find autogen, please install the autogen package. You can get it from http://autogen.sourceforge.net/])
+   AC_MSG_WARN([Couldn't find autogen. You will be able to build anjuta without autogen \
+                but several things won't work. You can get it from http://autogen.sourceforge.net/])
 fi
 
 dnl Check for perl required by gbf-am/mkfile



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]