From 138f0238a83167d440339a901056618e7a8d0236 Mon Sep 17 00:00:00 2001 From: Waldemar Brodkorb Date: Wed, 17 Feb 2010 22:30:27 +0100 Subject: add fallback for autoconf --- scripts/autoconf | 6 ++++++ scripts/autoreconf | 6 ++++++ 2 files changed, 12 insertions(+) (limited to 'scripts') diff --git a/scripts/autoconf b/scripts/autoconf index 85f9bd0b4..ce75759cf 100755 --- a/scripts/autoconf +++ b/scripts/autoconf @@ -17,4 +17,10 @@ elif [ ! -z "$ac261" -a -x "$ac261" ];then else AUTOCONF_VERSION=2.61 /usr/local/bin/autoconf "$@" fi +else + if [ -x /usr/bin/autoconf ];then + /usr/bin/autoconf "$@" + else + /usr/local/bin/autoconf "$@" + fi fi 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 -- cgit v1.2.3