summaryrefslogtreecommitdiff
path: root/scripts/autoconf
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/autoconf')
-rwxr-xr-xscripts/autoconf6
1 files changed, 6 insertions, 0 deletions
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