configure: make call to readlink portable to non-GNU (BSD) systems

The argument '-e' for readlink is a GNU extension.
In setting the variable 'where' the argument '-e' is not necessary, thus eliminated.
This commit is contained in:
Titus von Boxberg 2010-05-17 12:23:24 +02:00
parent 16ef145f50
commit 82af5a5d7b

2
configure vendored
View File

@ -160,7 +160,7 @@ check_for() {
printf "Checking for '${item}'... "
where="$( gcc -print-file-name="${item}" )"
if [ "${where}" != "${item}" ]; then
where="$( readlink -e "${where}" )"
where="$( readlink "${where}" )"
status=yes
break;
fi