summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Palimaka <kensington@gentoo.org>2014-06-27 04:25:52 +1000
committerThe Qt Project <gerrit-noreply@qt-project.org>2014-07-15 20:18:59 +0200
commit9de7b4d7501c7e8e9eb561d02149a52b05a2bc1d (patch)
tree24771f851c28ad2c5ed28c267e80b00a889bc361
parent0e4807455a0d9a5c2d72a2534ae069fd609c9e6c (diff)
Canonicalize inputs when filtering default system paths
Contrary to expectations, various <foo>-config tools sometimes spit out denormalized paths, which breaks the text-based filtering, as it relies on exact matches with normalized paths. Change-Id: I0613ed24953a3bde19939d28d09572c88b43a361 Task-number: QTBUG-39216 Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@digia.com>
-rwxr-xr-xconfigure1
1 files changed, 1 insertions, 0 deletions
diff --git a/configure b/configure
index 8c16b1270e..96cc82bd58 100755
--- a/configure
+++ b/configure
@@ -364,6 +364,7 @@ filterDefaultPaths()
{
local path
path=`cat`
+ path=`"$relpath/config.tests/unix/makeabs" "$path"`
echo "$1" | grep "^$path\$" > /dev/null || echo "$path"
}