summaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure6
1 files changed, 6 insertions, 0 deletions
diff --git a/configure b/configure
index 1e7f01c3f8..d376c1d719 100755
--- a/configure
+++ b/configure
@@ -5348,6 +5348,12 @@ if [ "$CFG_XCB" != "no" ]; then
QT_CONFIG="$QT_CONFIG xcb-xlib"
fi
+ if [ "$CFG_SM" != "no" ] && [ -n "$PKG_CONFIG" ]; then
+ if $PKG_CONFIG --exists "sm" 2>/dev/null && $PKG_CONFIG --exists "ice" 2>/dev/null; then
+ QT_CONFIG="$QT_CONFIG xcb-sm"
+ fi
+ fi
+
# auto-detect Xrender support
if [ "$CFG_XRENDER" != "no" ]; then
if compileTest x11/xrender "Xrender"; then