configure.py
changeset 23 e6ad4ef83b23
parent 21 4633027730f5
child 28 b7da29130b0e
--- a/configure.py	Wed Aug 18 10:05:37 2010 +0300
+++ b/configure.py	Thu Sep 02 20:44:51 2010 +0300
@@ -719,6 +719,8 @@
     config = ConfigFile()
     test = ConfigTest(BUILDENV.sourcedir(), BUILDENV.builddir())
     print("\nDetecting available features...")
+    working_qmake_and_make = test.compile("config.tests/all/simpleapp")
+    print("INFO: Working qmake and make:\t\t%s" % working_qmake_and_make)
     if options.qtmobility == None:
         options.qtmobility = test.compile("config.tests/all/mobility")
     if options.qtmobility:
@@ -961,6 +963,11 @@
                     print line
             print "###############################################################################"
 
+    if not working_qmake_and_make:
+        print("")
+        print("WARNING: There does not seem to be a working qmake and/or make in the environment.")
+        print("         Please check the environment and/or configuration parameters.")
+
     # print summary
     print("")
     if MAKE.bin() == "nmake" and options.msvc: