From 36fc92485e9d627a925c66ca313a64a0ee6881bd Mon Sep 17 00:00:00 2001 From: Donald Carr Date: Fri, 23 Oct 2009 16:44:25 +0000 Subject: 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 --- configure | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/configure b/configure index 485c71c..d97149d 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 -- cgit v0.12