summaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
authorThiago Macieira <thiago.macieira@intel.com>2014-11-24 23:41:00 -0800
committerJani Heikkinen <jani.heikkinen@theqtcompany.com>2014-12-01 20:03:33 +0100
commita2da88712f1e057747f68a28361b300faac5e605 (patch)
tree2835260dd00fbca0287edcf1329db7bdc5aa4820 /configure
parent38d3a7bb6eec46f1bab5ed53334ff2639e9b6eea (diff)
Make QtDBus compile without libdbus-1 headers, if dlopening
Most of QtDBus already needs very little from libdus-1, so create an extra header containing the minimum API we actually need. One large advantage of this solution is that now QtDBus can always be enabled, even if the system doesn't have libdbus-1 installed. This is interesting on OS X, where libdbus-1 is often installed by Homebrew or MacPorts, which may include extra libraries we don't want in our packaging. Change-Id: I1b397121ec12eeca333ef778cf8e1c7b64d6b223 Reviewed-by: Lars Knoll <lars.knoll@digia.com>
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure4
1 files changed, 2 insertions, 2 deletions
diff --git a/configure b/configure
index d95d8a2a4a..6f21ba76ab 100755
--- a/configure
+++ b/configure
@@ -4642,8 +4642,8 @@ if [ "$CFG_DBUS" != "no" ]; then
fi
QMakeVar set QT_HOST_CFLAGS_DBUS "$QT_CFLAGS_DBUS"
else
- if [ "$CFG_DBUS" = "auto" ]; then
- CFG_DBUS=no
+ if [ "$CFG_DBUS" != "linked" ]; then
+ CFG_DBUS=runtime
elif [ "$CFG_CONFIGURE_EXIT_ON_ERROR" = "yes" ]; then
# CFG_DBUS is "yes" or "linked" here