Changeset 53


Ignore:
Timestamp:
Feb 14, 2013, 4:29:13 PM (12 years ago)
Author:
becoulet
Message:

fixed bootstrap script for recent automake versions

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sources/bootstrap

    r44 r53  
    4949if test "${amvers}" = "no" && automake --version > /dev/null 2>&1; then
    5050  amvers="`automake --version | sed -e '1s/[^0-9]*//' -e q`"
    51   if expr "$amvers" "<" "1.5" > /dev/null 2>&1; then
     51  amvers="`echo $amvers | sed -e ':p' -e 's/^\([0-9][0-9]*\.\)\{1\}[0-9][0-9]*$/&.0/' -e 't p'`"
     52  amvers="$((`echo $amvers | sed -e ':a' -e 's/^\(.*\)\([0-9][0-9]*\)\./(\1\2)*100+/' -e 'ta'`))"
     53  if expr "$amvers" -lt 10500 > /dev/null 2>&1; then
    5254    amvers="no"
    5355  else
Note: See TracChangeset for help on using the changeset viewer.