From 5486f14afb34608d16f62a575499712b20073162 Mon Sep 17 00:00:00 2001 From: Simon Hausmann Date: Sun, 7 Jun 2009 10:56:24 +0200 Subject: Make it possible to cross-compile for non-x11-non-qws platforms. Don't set PLATFORM_X11 unless we do have X11 libs in our xqmakespec. --- configure | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configure b/configure index 485c71c..a3c8cba 100755 --- a/configure +++ b/configure @@ -3851,7 +3851,7 @@ if [ "$PLATFORM_QWS" = "yes" ]; then Platform="Qt for Embedded Linux" elif [ "$PLATFORM_MAC" = "yes" ]; then Platform="Qt/Mac" -else +elif [ '!' -z "`getQMakeConf \"$XQMAKESPEC\" | grep QMAKE_LIBS_X11 | awk '{print $3;}'`" ]; then PLATFORM_X11=yes Platform="Qt/X11" fi -- cgit v0.12