diff options
author | Waldemar Brodkorb <wbx@openadk.org> | 2010-02-17 22:30:27 +0100 |
---|---|---|
committer | Waldemar Brodkorb <wbx@openadk.org> | 2010-02-17 22:30:27 +0100 |
commit | 138f0238a83167d440339a901056618e7a8d0236 (patch) | |
tree | e727c8836775a15fc7997270abd9b7b3e62d9162 /scripts/autoreconf | |
parent | f9011c1275b13f39e4ab4552173bfb91b2ffae56 (diff) |
add fallback for autoconf
Diffstat (limited to 'scripts/autoreconf')
-rwxr-xr-x | scripts/autoreconf | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/scripts/autoreconf b/scripts/autoreconf index ce2aa1120..844ecd157 100755 --- a/scripts/autoreconf +++ b/scripts/autoreconf @@ -29,4 +29,10 @@ elif [ ! -z "$ac261" -a -x "$ac261" ];then AUTOCONF_VERSION=2.61 \ /usr/local/bin/autoreconf "$@" fi +else + if [ -x /usr/bin/autoreconf ];then + /usr/bin/autoreconf "$@" + else + /usr/local/bin/autoreconf "$@" + fi fi |