diff options
author | Donald Carr <donald.carr@nokia.com> | 2009-10-23 16:44:25 (GMT) |
---|---|---|
committer | Donald Carr <donald.carr@nokia.com> | 2009-10-23 16:44:25 (GMT) |
commit | 36fc92485e9d627a925c66ca313a64a0ee6881bd (patch) | |
tree | a88ff0ff16ed8c63691814b54f08a8e695082210 /configure | |
parent | afcffc4e0bdbac7850bcef9e67332c7cbd1ea611 (diff) | |
download | Qt-36fc92485e9d627a925c66ca313a64a0ee6881bd.zip Qt-36fc92485e9d627a925c66ca313a64a0ee6881bd.tar.gz Qt-36fc92485e9d627a925c66ca313a64a0ee6881bd.tar.bz2 |
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-x | configure | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -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 |