Changeset 2948


Ignore:
Timestamp:
Oct 15, 2013 12:09:40 PM (6 years ago)
Author:
bradbell
Message:

get_adolc.sh: Attempt to get adolc install to work with old autoconf.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/bin/get_adolc.sh

    r2943 r2948  
    123123if which autoconf >& /dev/null
    124124then
    125         echo_eval autoreconf -f -i
     125        ac_version=`autoconf --version | \
     126                sed -e 's|[^0-9]*\([0-9.]*\)[.]\([0-9]*\).*|\1 * 100 + \2|' | bc`
     127        if [ "$ac_version" -ge 267 ]
     128        then
     129                echo_eval autoreconf -f -i
     130        fi
    126131fi
    127132# -----------------------------------------------------------------------------
Note: See TracChangeset for help on using the changeset viewer.