Don't run XLib check if -no-gui is used
Currently, an attempt to compile Qt even with -no-gui on a Linux box that doesn't have libX11 installed fails becaue of the XLib functionality check in configure. This check can be turned off in -no-gui mode, since QtCore, QtXml, QtNetwork and friends don't use libX11. Merge-request: 1214 Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@nokia.com> (cherry picked from commit 912b6804bcacbf1b4f356d947986df8156a545a4)
This commit is contained in:
parent
c1077e9fb6
commit
01cbab598a
2
configure
vendored
2
configure
vendored
@ -5774,7 +5774,7 @@ if [ "$PLATFORM_X11" = "yes" -o "$PLATFORM_QWS" = "yes" -o "$PLATFORM_QPA" = "ye
|
|||||||
fi # X11/QWS/Lighthouse
|
fi # X11/QWS/Lighthouse
|
||||||
|
|
||||||
# X11
|
# X11
|
||||||
if [ "$PLATFORM_X11" = "yes" ]; then
|
if [ "$PLATFORM_X11" = "yes" -a "$CFG_GUI" != "no" ]; then
|
||||||
x11tests="$relpath/config.tests/x11"
|
x11tests="$relpath/config.tests/x11"
|
||||||
X11TESTS_FLAGS=
|
X11TESTS_FLAGS=
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user