Skip to content

Commit

Permalink
changes
Browse files Browse the repository at this point in the history
  • Loading branch information
juur committed Nov 11, 2023
1 parent 6d0b18b commit 3ab6de5
Showing 1 changed file with 2 additions and 7 deletions.
9 changes: 2 additions & 7 deletions configure
Original file line number Diff line number Diff line change
Expand Up @@ -155,14 +155,9 @@ fail()
printf "Checking for a C compiler ... "
echo "command:"
set -o xtrace
command -v "${CC}"
echo "env:"
which command || true
type command || true
echo "rest:"
if env -i "PATH=$PATH" command -v "${CC}"; then
if env -i "PATH=$PATH" sh -c "command -v \"${CC}\""; then
export CC
env -i "PATH=$PATH" command -v "${CC}"
env -i "PATH=$PATH" sh -c "command -v \"${CC}\""
else
fail "Error: CC not valid"
fi
Expand Down

0 comments on commit 3ab6de5

Please sign in to comment.