Commit 14aa00b5 authored by Ned Deily's avatar Ned Deily Committed by GitHub

Allow configure to handle PATH elements with spaces (#3935)

parent 6e3d6b5d
......@@ -3524,14 +3524,14 @@ then
for as_dir in $PATH
do
IFS=$as_save_IFS
if test -x $as_dir/gcc; then
if test -x "${as_dir}/gcc"; then
if test -z "${found_gcc}"; then
found_gcc=$as_dir/gcc
found_gcc="${as_dir}/gcc"
fi
fi
if test -x $as_dir/clang; then
if test -x "${as_dir}/clang"; then
if test -z "${found_clang}"; then
found_clang=$as_dir/clang
found_clang="${as_dir}/clang"
fi
fi
done
......
......@@ -621,14 +621,14 @@ then
for as_dir in $PATH
do
IFS=$as_save_IFS
if test -x $as_dir/gcc; then
if test -x "${as_dir}/gcc"; then
if test -z "${found_gcc}"; then
found_gcc=$as_dir/gcc
found_gcc="${as_dir}/gcc"
fi
fi
if test -x $as_dir/clang; then
if test -x "${as_dir}/clang"; then
if test -z "${found_clang}"; then
found_clang=$as_dir/clang
found_clang="${as_dir}/clang"
fi
fi
done
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment