summaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
authorDonald Carr <donald.carr@nokia.com>2009-10-23 16:44:25 +0000
committerDonald Carr <donald.carr@nokia.com>2009-10-23 16:44:25 +0000
commit36fc92485e9d627a925c66ca313a64a0ee6881bd (patch)
treea88ff0ff16ed8c63691814b54f08a8e695082210 /configure
parentafcffc4e0bdbac7850bcef9e67332c7cbd1ea611 (diff)
Add cross compiling pkg-config disabled warning
We have historically silently disabled pkg-config when cross compiling in order to avoid host pkg-config contamination of the target build. pkg-config files are present on many embedded targets, and make the correct detection/configuration of dependencies far more convenient for the developer. It is therefor valuable to advertise that pkg-config functionality is available but disabled barring direct involvement on their parts, rather than silently disabling it. Reviewed-by: Thiago Macieira <thiago.macieira@nokia.com>
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure5
1 files changed, 5 insertions, 0 deletions
diff --git a/configure b/configure
index 485c71c99d..d97149da94 100755
--- a/configure
+++ b/configure
@@ -2841,6 +2841,11 @@ if [ "$QT_CROSS_COMPILE" = "yes" ]; then
echo >&2 ""
fi
else
+ echo >&2 ""
+ echo >&2 "You have not explicitly asked to use pkg-config and are cross-compiling."
+ echo >&2 "pkg-config will not be used to automatically query cflag/lib parameters for"
+ echo >&2 "dependencies"
+ echo >&2 ""
PKG_CONFIG=""
fi
fi