summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTitus von Boxberg <titus@v9g.de>2010-05-17 10:23:24 (GMT)
committerTitus von Boxberg <titus@v9g.de>2010-05-17 10:23:24 (GMT)
commit82af5a5d7bb3471ab7dd7cca2885b71f929dc3b0 (patch)
tree88505256af6e7ac80ede6a3ac70146116be991c8
parent16ef145f50ed47167a7d49df2a8bb2d8feb59d0e (diff)
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.
-rwxr-xr-xconfigure2
1 files changed, 1 insertions, 1 deletions
diff --git a/configure b/configure
index 7d7769e..04b9b65 100755
--- a/configure
+++ b/configure
@@ -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