Complete.Org: Mailing Lists: Archives: freeciv-dev: August 2003:
[Freeciv-Dev] Problems detecting automake version.
Home

[Freeciv-Dev] Problems detecting automake version.

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: freeciv-dev@xxxxxxxxxxx
Subject: [Freeciv-Dev] Problems detecting automake version.
From: Marko Lindqvist <marko.lindqvist@xxxxxxxxxxx>
Date: Sat, 16 Aug 2003 18:24:17 +0300

For me autogen.sh fails with
+ checking for automake >= 1.4 ... found -1.5), not ok !

> automake --version | head -n 1
automake (GNU automake-1.5) 1.5

Attached patch works for me in that respect (I'm still having other problems with autogen.sh)


- Caz

diff autogen.sh autogen.sh
--- autogen.sh  Sat Aug 16 19:24:54 2003
+++ autogen.sh  Sat Aug 16 19:25:47 2003
@@ -70,7 +70,7 @@
     return 1
   }
   # the following line is carefully crafted sed magic
-  pkg_version=`$PACKAGE --version|head -n 1|sed 's/^[a-zA-Z\.\ ()]*//;s/ 
.*$//'`
+  pkg_version=`$PACKAGE --version|head -n 1|sed 's/(.*)//;s/^[a-zA-Z\.\ 
]*//;s/ .*$//'`
   debug "pkg_version $pkg_version"
   pkg_major=`echo $pkg_version | cut -d. -f1`
   pkg_minor=`echo $pkg_version | sed s/[-,a-z,A-Z].*// | cut -d. -f2`

[Prev in Thread] Current Thread [Next in Thread]