8011348: use of which in common/autoconf/autogen.sh is not portable

Reviewed-by: erikj, katleman, mduigou
This commit is contained in:
Tim Bell 2013-04-09 13:05:22 -07:00
parent 80b7d8cf99
commit 0a6c65bc99

@ -43,8 +43,8 @@ fi
custom_hook=$custom_script_dir/custom-hook.m4
AUTOCONF=$(which autoconf 2> /dev/null);
AUTOCONF_267=$(which autoconf-2.67 2> /dev/null);
AUTOCONF="`which autoconf 2> /dev/null | grep -v '^no autoconf in'`"
AUTOCONF_267="`which autoconf-2.67 2> /dev/null | grep -v '^no autoconf-2.67 in'`"
echo "Autoconf found: ${AUTOCONF}"
echo "Autoconf-2.67 found: ${AUTOCONF_267}"