diff options
Diffstat (limited to 'tools/configure/configureapp.cpp')
-rw-r--r-- | tools/configure/configureapp.cpp | 62 |
1 files changed, 2 insertions, 60 deletions
diff --git a/tools/configure/configureapp.cpp b/tools/configure/configureapp.cpp index a9f388272d..23b19ecf6e 100644 --- a/tools/configure/configureapp.cpp +++ b/tools/configure/configureapp.cpp @@ -197,13 +197,9 @@ Configure::Configure(int& argc, char** argv) dictionary[ "QMAKE_INTERNAL" ] = "no"; dictionary[ "FAST" ] = "no"; dictionary[ "NOPROCESS" ] = "no"; - dictionary[ "STL" ] = "yes"; dictionary[ "EXCEPTIONS" ] = "yes"; dictionary[ "WIDGETS" ] = "yes"; dictionary[ "RTTI" ] = "yes"; - dictionary[ "MMX" ] = "auto"; - dictionary[ "3DNOW" ] = "auto"; - dictionary[ "SSE" ] = "auto"; dictionary[ "SSE2" ] = "auto"; dictionary[ "IWMMXT" ] = "auto"; dictionary[ "SYNCQT" ] = "auto"; @@ -771,11 +767,6 @@ void Configure::parseCmdLine() else if (configCmdLine.at(i) == "-no-fast") dictionary[ "FAST" ] = "no"; - else if (configCmdLine.at(i) == "-stl") - dictionary[ "STL" ] = "yes"; - else if (configCmdLine.at(i) == "-no-stl") - dictionary[ "STL" ] = "no"; - else if (configCmdLine.at(i) == "-exceptions") dictionary[ "EXCEPTIONS" ] = "yes"; else if (configCmdLine.at(i) == "-no-exceptions") @@ -798,18 +789,6 @@ void Configure::parseCmdLine() cout << "Setting accessibility to NO" << endl; } - else if (configCmdLine.at(i) == "-no-mmx") - dictionary[ "MMX" ] = "no"; - else if (configCmdLine.at(i) == "-mmx") - dictionary[ "MMX" ] = "yes"; - else if (configCmdLine.at(i) == "-no-3dnow") - dictionary[ "3DNOW" ] = "no"; - else if (configCmdLine.at(i) == "-3dnow") - dictionary[ "3DNOW" ] = "yes"; - else if (configCmdLine.at(i) == "-no-sse") - dictionary[ "SSE" ] = "no"; - else if (configCmdLine.at(i) == "-sse") - dictionary[ "SSE" ] = "yes"; else if (configCmdLine.at(i) == "-no-sse2") dictionary[ "SSE2" ] = "no"; else if (configCmdLine.at(i) == "-sse2") @@ -1375,13 +1354,9 @@ void Configure::applySpecSpecifics() dictionary[ "FREETYPE" ] = "no"; dictionary[ "OPENGL" ] = "no"; dictionary[ "OPENSSL" ] = "no"; - dictionary[ "STL" ] = "no"; dictionary[ "EXCEPTIONS" ] = "no"; dictionary[ "RTTI" ] = "no"; - dictionary[ "3DNOW" ] = "no"; - dictionary[ "SSE" ] = "no"; dictionary[ "SSE2" ] = "no"; - dictionary[ "MMX" ] = "no"; dictionary[ "IWMMXT" ] = "no"; dictionary[ "CE_CRT" ] = "yes"; dictionary[ "DIRECTSHOW" ] = "no"; @@ -1462,7 +1437,7 @@ bool Configure::displayHelp() "[-release] [-debug] [-debug-and-release] [-shared] [-static]\n" "[-no-fast] [-fast] [-no-exceptions] [-exceptions]\n" "[-no-accessibility] [-accessibility] [-no-rtti] [-rtti]\n" - "[-no-stl] [-stl] [-no-sql-<driver>] [-qt-sql-<driver>]\n" + "[-no-sql-<driver>] [-qt-sql-<driver>]\n" "[-plugin-sql-<driver>] [-system-sqlite]\n" "[-D <define>] [-I <includepath>] [-L <librarypath>]\n" "[-help] [-no-dsp] [-dsp] [-no-vcproj] [-vcproj]\n" @@ -1472,7 +1447,7 @@ bool Configure::displayHelp() "[-qt-zlib] [-system-zlib] [-qt-pcre] [-system-pcre] [-no-gif]\n" "[-no-libpng] [-qt-libpng] [-system-libpng]\n" "[-no-libjpeg] [-qt-libjpeg] [-system-libjpeg]\n" - "[-mmx] [-no-mmx] [-3dnow] [-no-3dnow] [-sse] [-no-sse] [-sse2] [-no-sse2]\n" + "[-sse2] [-no-sse2]\n" "[-no-iwmmxt] [-iwmmxt] [-openssl] [-openssl-linked]\n" "[-no-openssl] [-no-dbus] [-dbus] [-dbus-linked] [-platform <spec>]\n" "[-qtnamespace <namespace>] [-qtlibinfix <infix>] [-no-phonon]\n" @@ -1524,9 +1499,6 @@ bool Configure::displayHelp() desc("ACCESSIBILITY", "no", "-no-accessibility", "Do not compile Windows Active Accessibility support."); desc("ACCESSIBILITY", "yes", "-accessibility", "Compile Windows Active Accessibility support.\n"); - desc("STL", "no", "-no-stl", "Do not compile STL support."); - desc("STL", "yes", "-stl", "Compile STL support.\n"); - desc( "-no-sql-<driver>", "Disable SQL <driver> entirely, by default none are turned on."); desc( "-qt-sql-<driver>", "Enable a SQL <driver> in the Qt Library."); desc( "-plugin-sql-<driver>", "Enable SQL <driver> as a plugin to be linked to at run time.\n" @@ -1620,12 +1592,6 @@ bool Configure::displayHelp() desc("RTTI", "no", "-no-rtti", "Do not compile runtime type information."); desc("RTTI", "yes", "-rtti", "Compile runtime type information.\n"); - desc("MMX", "no", "-no-mmx", "Do not compile with use of MMX instructions"); - desc("MMX", "yes", "-mmx", "Compile with use of MMX instructions"); - desc("3DNOW", "no", "-no-3dnow", "Do not compile with use of 3DNOW instructions"); - desc("3DNOW", "yes", "-3dnow", "Compile with use of 3DNOW instructions"); - desc("SSE", "no", "-no-sse", "Do not compile with use of SSE instructions"); - desc("SSE", "yes", "-sse", "Compile with use of SSE instructions"); desc("SSE2", "no", "-no-sse2", "Do not compile with use of SSE2 instructions"); desc("SSE2", "yes", "-sse2", "Compile with use of SSE2 instructions"); desc("OPENSSL", "no", "-no-openssl", "Do not compile in OpenSSL support"); @@ -1871,10 +1837,6 @@ bool Configure::checkAvailability(const QString &part) available = (dictionary.value("XQMAKESPEC").startsWith("wince")); else if (part == "SSE2") available = (dictionary.value("QMAKESPEC") != "win32-msvc"); - else if (part == "3DNOW") - available = (dictionary.value("QMAKESPEC") != "win32-msvc") && (dictionary.value("QMAKESPEC") != "win32-icc") && findFile("mm3dnow.h"); - else if (part == "MMX" || part == "SSE") - available = (dictionary.value("QMAKESPEC") != "win32-msvc"); else if (part == "OPENSSL") available = findFile("openssl\\ssl.h"); else if (part == "DBUS") @@ -1983,12 +1945,6 @@ void Configure::autoDetection() dictionary["SQL_SQLITE2"] = checkAvailability("SQL_SQLITE2") ? defaultTo("SQL_SQLITE2") : "no"; if (dictionary["SQL_IBASE"] == "auto") dictionary["SQL_IBASE"] = checkAvailability("SQL_IBASE") ? defaultTo("SQL_IBASE") : "no"; - if (dictionary["MMX"] == "auto") - dictionary["MMX"] = checkAvailability("MMX") ? "yes" : "no"; - if (dictionary["3DNOW"] == "auto") - dictionary["3DNOW"] = checkAvailability("3DNOW") ? "yes" : "no"; - if (dictionary["SSE"] == "auto") - dictionary["SSE"] = checkAvailability("SSE") ? "yes" : "no"; if (dictionary["SSE2"] == "auto") dictionary["SSE2"] = checkAvailability("SSE2") ? "yes" : "no"; if (dictionary["IWMMXT"] == "auto") @@ -2075,7 +2031,6 @@ bool Configure::verifyConfiguration() Options: debug release - stl Things that do not affect the Qt API/ABI: system-jpeg no-jpeg jpeg @@ -2629,20 +2584,12 @@ void Configure::generateQConfigPri() if (dictionary[ "LTCG" ] == "yes") configStream << " ltcg"; - if (dictionary[ "STL" ] == "yes") - configStream << " stl"; if (dictionary[ "EXCEPTIONS" ] == "yes") configStream << " exceptions"; if (dictionary[ "EXCEPTIONS" ] == "no") configStream << " exceptions_off"; if (dictionary[ "RTTI" ] == "yes") configStream << " rtti"; - if (dictionary[ "MMX" ] == "yes") - configStream << " mmx"; - if (dictionary[ "3DNOW" ] == "yes") - configStream << " 3dnow"; - if (dictionary[ "SSE" ] == "yes") - configStream << " sse"; if (dictionary[ "SSE2" ] == "yes") configStream << " sse2"; if (dictionary[ "IWMMXT" ] == "yes") @@ -2802,7 +2749,6 @@ void Configure::generateConfigfiles() tmpStream << endl << "// Compile time features" << endl; QStringList qconfigList; - if (dictionary["STL"] == "no") qconfigList += "QT_NO_STL"; if (dictionary["STYLE_WINDOWS"] != "yes") qconfigList += "QT_NO_STYLE_WINDOWS"; if (dictionary["STYLE_PLASTIQUE"] != "yes") qconfigList += "QT_NO_STYLE_PLASTIQUE"; if (dictionary["STYLE_CLEANLOOKS"] != "yes") qconfigList += "QT_NO_STYLE_CLEANLOOKS"; @@ -3048,12 +2994,8 @@ void Configure::displayConfig() cout << "Debug symbols..............." << (dictionary[ "BUILD" ] == "debug" ? "yes" : "no") << endl; cout << "Link Time Code Generation..." << dictionary[ "LTCG" ] << endl; cout << "Accessibility support......." << dictionary[ "ACCESSIBILITY" ] << endl; - cout << "STL support................." << dictionary[ "STL" ] << endl; cout << "Exception support..........." << dictionary[ "EXCEPTIONS" ] << endl; cout << "RTTI support................" << dictionary[ "RTTI" ] << endl; - cout << "MMX support................." << dictionary[ "MMX" ] << endl; - cout << "3DNOW support..............." << dictionary[ "3DNOW" ] << endl; - cout << "SSE support................." << dictionary[ "SSE" ] << endl; cout << "SSE2 support................" << dictionary[ "SSE2" ] << endl; cout << "IWMMXT support.............." << dictionary[ "IWMMXT" ] << endl; cout << "OpenGL support.............." << dictionary[ "OPENGL" ] << endl; |