summaryrefslogtreecommitdiff
path: root/scripts/autoreconf
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/autoreconf')
-rwxr-xr-xscripts/autoreconf6
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