From 1da978416d89b86d92087e8dc51bdb305b6ed58c Mon Sep 17 00:00:00 2001 From: Peter Hartmann Date: Thu, 18 Oct 2012 16:40:33 +0200 Subject: configure: state compiler explicitly when testing for supported flags ... so we can test those functions with host and cross compilers. Change-Id: Ifebfdac54580633c797f77b139514cf9d66edd8c Reviewed-by: Oswald Buddenhagen --- configure | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'configure') diff --git a/configure b/configure index 78ae73c2d4..d130b69ef4 100755 --- a/configure +++ b/configure @@ -224,28 +224,28 @@ getXQMakeConf() getQMakeConf3 "$1" "$xspecvals" } -# relies on $TEST_COMPILER being set correctly compilerSupportsFlag() { cat >conftest.cpp </dev/null 2>&1 + compilerSupportsFlag $compiler $lflags >/dev/null 2>&1 } # $1: newline-separated list of default paths @@ -2669,7 +2669,7 @@ fi # auto-detect -fstack-protector-strong support (for QNX only currently) if [ "$XPLATFORM_QNX" = "yes" ]; then - if compilerSupportsFlag -fstack-protector-strong; then + if compilerSupportsFlag $TEST_COMPILER -fstack-protector-strong; then CFG_STACK_PROTECTOR_STRONG=yes else CFG_STACK_PROTECTOR_STRONG=no -- cgit v1.2.3 From cdc2161b6f87deaac6a256885fd6ecdccad6eb82 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Samuel=20R=C3=B8dal?= Date: Mon, 1 Oct 2012 10:17:21 +0200 Subject: Made xcb plugin work when the GLX extension is not present. Change-Id: I9285d7524586ff404206c088019ece33335137d9 Reviewed-by: Lars Knoll --- configure | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'configure') diff --git a/configure b/configure index d130b69ef4..5229c2b0ea 100755 --- a/configure +++ b/configure @@ -801,6 +801,7 @@ CFG_XINPUT2=auto CFG_XINPUT=runtime CFG_XKB=auto CFG_XCB=auto +CFG_XCB_GLX=no CFG_XCB_LIMITED=yes CFG_EGLFS=auto CFG_DIRECTFB=auto @@ -4790,6 +4791,11 @@ if [ "$CFG_XCB" != "no" ]; then QT_CONFIG="$QT_CONFIG xcb-render" fi + if compileTest qpa/xcb-glx "xcb-glx" $QMAKE_CFLAGS_XCB $QMAKE_LIBS_XCB; then + CFG_XCB_GLX=yes + QT_CONFIG="$QT_CONFIG xcb-glx" + fi + if compileTest qpa/xcb-poll-for-queued-event "xcb-poll-for-queued-event" $QMAKE_CFLAGS_XCB $QMAKE_LIBS_XCB; then CFG_XCB_LIMITED=no QT_CONFIG="$QT_CONFIG xcb-poll-for-queued-event" -- cgit v1.2.3 From 087e4bc5171f0ced1f34663e59217d678cd350ba Mon Sep 17 00:00:00 2001 From: Jens Bache-Wiig Date: Thu, 18 Oct 2012 15:22:15 +0200 Subject: Remove Cleanlooks and Plastique We have a new style Fusion that will replace these styles. They will be moved to a separate module rather than included in platforms that do not need them. Change-Id: I51ebbcad5406e99130e5b12e62ba624d1489088c Reviewed-by: Gabriel de Dietrich --- configure | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'configure') diff --git a/configure b/configure index 5229c2b0ea..f03bd58fe2 100755 --- a/configure +++ b/configure @@ -727,7 +727,7 @@ mkdir -p "$outpath/config.tests" rm -f "$outpath/config.tests/.qmake.cache" cp "$QMAKE_VARS_FILE" "$outpath/config.tests/.qmake.cache" -QMakeVar add styles "cde mac motif fusion plastique cleanlooks windows" +QMakeVar add styles "mac fusion windows" # QTDIR may be set and point to an old or system-wide Qt installation unset QTDIR -- cgit v1.2.3 From d7b087eaac7cebfcbe5b23935d7d7576e127d844 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tor=20Arne=20Vestb=C3=B8?= Date: Fri, 19 Oct 2012 11:04:01 +0200 Subject: configure: make sure that global shadow doc symlink is always updated We forcibly overwrite the symlink - in case the source dir changes. Change-Id: I3986b968f787ea0d250887113a0c223e10038546 Reviewed-by: Oswald Buddenhagen --- configure | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'configure') diff --git a/configure b/configure index f03bd58fe2..c3e61d63c5 100755 --- a/configure +++ b/configure @@ -2257,7 +2257,7 @@ if [ "$OPT_SHADOW" = "yes" ]; then # Prepare doc directory mkdir -p "$outpath/doc" - ln -s "$relpath"/doc/global "$outpath/doc" + ln -f -s "$relpath"/doc/global "$outpath/doc" fi # symlink fonts to be able to run application from build directory -- cgit v1.2.3