From aeb2941ca1dcb901ca8bd6b74af456c1473728a4 Mon Sep 17 00:00:00 2001 From: Thiago Macieira Date: Fri, 28 Dec 2012 20:01:07 -0200 Subject: Remove the framework directories from qmake's default include dirs On Mac, GCC and Clang print "(framework directory)" at the end of the directory listing for includes if that's a framework dir. The directory with "(framework directory)" at the end does not exist, so it doesn't affect anything by being there. But we don't have to keep the list longer just for that. Change-Id: I3d031d3d15c75801ec0d6112b2c913bd63e5def3 Reviewed-by: Oswald Buddenhagen --- configure | 1 + 1 file changed, 1 insertion(+) (limited to 'configure') diff --git a/configure b/configure index 89246c8d7c..ea6711de4f 100755 --- a/configure +++ b/configure @@ -2739,6 +2739,7 @@ libdirs=`echo "$gccout" | sed -n -e 's/^LIBRARY_PATH=\(.*\)/\1/p'` DEFAULT_LIBDIRS=`IFS=:; for i in $libdirs; do test -d "$i" && cd "$i" && pwd; done | sort -u` DEFAULT_INCDIRS=`echo "$gccout" | awk ' /^End of search/ { yup=0 } +/ \(framework directory\)$/ { next } yup { print substr($0, 2) } /^\#include