mirror of
https://github.com/qgis/QGIS.git
synced 2025-02-25 00:58:06 -05:00
Further tweak to the automake sed parser as supplied b Tom Russo. Should now
cope with all known automake version strings (we hope). git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@5735 c8812cc2-4d05-0410-92ff-de0c093fc19c
This commit is contained in:
parent
7caca85af2
commit
fbac0494aa
@ -22,7 +22,7 @@ if [ "`uname`" = "Darwin" ]; then
|
||||
fi
|
||||
|
||||
# Check automake version
|
||||
AM_VERSION=`automake --version | sed -n -e 's#[^0-9]* \([0-9]*\)\.\([0-9]*\)\.*\([0-9]*\).*$#\1 \2 \3#p'`
|
||||
AM_VERSION=`automake --version | sed -n -e 's#^.* \([0-9]*\)\.\([0-9]*\)[^0-9]*\([0-9]*\).*$#\1 \2 \3#p'`
|
||||
AM_V1=`echo $AM_VERSION | awk '{print $1}'`
|
||||
AM_V2=`echo $AM_VERSION | awk '{print $2}'`
|
||||
AM_V3=`echo $AM_VERSION | awk '{if ($NF > 2) print $3; else print "0";}'`
|
||||
|
Loading…
x
Reference in New Issue
Block a user