[Freeciv-Dev] Problems detecting automake version.
[Top] [All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
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`
- [Freeciv-Dev] Problems detecting automake version.,
Marko Lindqvist <=
|
|