Changeset 585
- Timestamp:
- Feb 21, 2010, 4:35:05 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/configure.cmd
r582 r585 25 25 G.ScreenWidth = -1 26 26 G.ScreenHeight = -1 27 27 28 G.Verbose = 1 28 G. OfficialBuild = 029 G.LogFile = '' 29 30 30 31 /* initialize global variables */ … … 40 41 G.CFG_DEV = "no" 41 42 42 /* All defines that express the limited functionality of the OS/2 version of Qt43 * (mostly because the relevant features are not yet implemented).44 *45 * NOTE: These defines affect the value of QT_BUILD_KEY (QLibraryInfo::buildKey())46 * which deals with binary compatibility, so use with care! If you only want the47 * QT_NO_ defne to appear in qconfig.h but not in the build key, use48 * G.QCONFIG_FLAGS instead.49 */50 G.LIMITATION_DEFS =,51 "QT_NO_TABLET",52 "QT_NO_SYSTEMSEMAPHORE QT_NO_SHAREDMEMORY",53 "QT_NO_IM QT_NO_ACCESSIBILITY QT_NO_IPV6 QT_NO_LPR"54 55 G.QCONFIG_FLAGS = G.LIMITATION_DEFS56 57 43 G.QT_DEFAULT_BUILD_PARTS = "libs tools qmake" /* examples demos docs translations */ 58 44 … … 74 60 parse source . . G.ScriptFile 75 61 G.ScriptDir = FixDir(filespec('D', G.ScriptFile) || filespec('P', G.ScriptFile)) 62 63 G.LogFile = FixDirNoSlash(G.ScriptDir)'\configure.log' 64 call DeleteFile G.LogFile 76 65 77 66 /* check text screen resolution */ … … 173 162 /* grab the official build option if any 174 163 * (@todo move this to the command line parsing code when it's done) */ 164 G.OfficialBuild = 0 175 165 build = word(aArgs, 1) 176 166 if (build == "--official-build" |, … … 191 181 'If you understand what it means and want to continue,'G.EOL||, 192 182 'then type YES below. Otherwise, press Enter or Ctrl-C.'G.EOL 193 call Say Say"Continue? ", 1183 call SayPrompt "Continue? ", 1 194 184 str = linein() 195 185 if (str \== "YES") then … … 227 217 G.CFG_PROFILE = "no" 228 218 G.CFG_EXCEPTIONS = "unspecified" 229 G.CFG_SCRIPTTOOLS = "auto" /* (yes|no|auto) */ 230 G.CFG_XMLPATTERNS = "auto" /* (yes|no|auto) */ 219 G.CFG_CONCURRENT = "auto" 220 G.CFG_SCRIPT = "auto" 221 G.CFG_SCRIPTTOOLS = "auto" 222 G.CFG_CONCURRENT = "auto" 223 G.CFG_XMLPATTERNS = "auto" 231 224 G.CFG_INCREMENTAL = "auto" 232 225 G.CFG_QCONFIG = "full" … … 257 250 G.CFG_PHONON = "auto" 258 251 G.CFG_PHONON_BACKEND = "yes" 252 G.CFG_MULTIMEDIA = "auto" 253 G.CFG_AUDIO_BACKEND = "auto" 259 254 G.CFG_SVG = "yes" 260 G.CFG_WEBKIT = "auto" /* (yes|no|auto) */ 255 G.CFG_DECLARATIVE = "auto" 256 G.CFG_WEBKIT = "auto" 261 257 G.CFG_GFX_AVAILABLE = "" 262 258 G.CFG_GFX_ON = "" … … 273 269 G.CFG_MOUSE_OFF = "" 274 270 G.CFG_USE_GNUMAKE = "no" 275 G.CFG_IM = "yes"276 271 CFG_DECORATION_AVAILABLE = "styled windows default" 277 272 CFG_DECORATION_ON = "${CFG_DECORATION_AVAILABLE}" /* all on by default */ … … 295 290 G.CFG_PRECOMPILE = "auto" 296 291 G.CFG_SEPARATE_DEBUG_INFO = "auto" 292 G.CFG_IPV6 = "auto" 297 293 /* @todo do we really need this? 298 294 G.CFG_MMX = "auto" … … 301 297 G.CFG_SSE2 = "auto" 302 298 G.CFG_IWMMXT = "no" 303 G.CFG_IPV6 = "auto"304 299 G.CFG_CLOCK_GETTIME = "auto" 305 300 G.CFG_CLOCK_MONOTONIC = "auto" … … 320 315 G.CFG_PREFIX_INSTALL = "yes" 321 316 G.CFG_SDK = "" 322 G.D_FLAGS = G.LIMITATION_DEFS317 G.D_FLAGS = "" 323 318 G.I_FLAGS = "" 324 319 G.L_FLAGS = "" 325 320 G.l_FLAGS = "" 321 G.QCONFIG_FLAGS = "" 326 322 G.XPLATFORM = "" /* This seems to be the QMAKESPEC, like "linux-g++" */ 327 323 G.PLATFORM = GetEnv("QMAKESPEC") … … 333 329 G.OPT_SHADOW = "maybe" 334 330 G.OPT_FAST = "auto" 335 G.OPT_VERBOSE = "no"336 331 G.OPT_HELP = "" 337 332 G.CFG_SILENT = "no" … … 443 438 444 439 if (G.CFG_QCONFIG \== "full" & G.CFG_QT3SUPPORT == "yes") then do 445 call Say Say"Warning: '-qconfig "G.CFG_QCONFIG"' will disable the qt3support library."440 call SayLog "Warning: '-qconfig "G.CFG_QCONFIG"' will disable the qt3support library." 446 441 G.CFG_QT3SUPPORT = "no" 447 442 end … … 554 549 end 555 550 556 call SayVerbose "System architecture: '"G.CFG_ARCH"'" 551 call SayVerbose "System architecture: '"G.CFG_ARCH"'"G.EOL 557 552 558 553 /*-------------------------------------------------------------------------- … … 631 626 * the printer classses at all when CUPS is not available */ 632 627 if (G.CFG_CUPS == 'no') then do 633 call Say Say'WARNING: Printing support is completely disabled due to',628 call SayLog 'WARNING: Printing support is completely disabled due to', 634 629 'disabled CUPS support.' 635 G.D_FLAGS = Join(G.D_FLAGS, "QT_NO_PRINTER")636 630 G.QCONFIG_FLAGS = Join(G.QCONFIG_FLAGS, "QT_NO_PRINTER") 637 631 end 638 632 639 /* NIS support is always off for now */ 633 /*-------------------------------------------------------------------------- 634 apply OS/2-specific limitations to the configuration 635 --------------------------------------------------------------------------*/ 636 637 /* This is the place to force the current limitations of Qt for OS/2 638 * (i.e. features that are unconditionally unavailable at the moment) */ 639 640 G.QCONFIG_FLAGS = Join(G.QCONFIG_FLAGS,, 641 "QT_NO_TABLET QT_NO_SYSTEMSEMAPHORE QT_NO_SHAREDMEMORY", 642 "QT_NO_IM QT_NO_LPR") 643 644 G.CFG_ACCESSIBILITY = "no" 645 G.CFG_MULTIMEDIA = "no" 646 G.CFG_IPV6 = "no" 640 647 G.CFG_NIS = "no" 641 648 … … 685 692 if (G.OPT_HELP == "yes") then do 686 693 /* @todo */ 687 call Say Say"TODO: Help message"694 call SayLog "TODO: Help message" 688 695 end 689 696 … … 692 699 --------------------------------------------------------------------------*/ 693 700 694 call Say Say695 call Say Say"This is the Qt for OS/2 "G.EditionString" Edition."696 call Say Say701 call SayLog 702 call SayLog "This is the Qt for OS/2 "G.EditionString" Edition." 703 call SayLog 697 704 698 705 if (G.Edition == "OpenSource") then … … 807 814 --------------------------------------------------------------------------*/ 808 815 809 call Say Say"Creating qmake. Please wait..."816 call SayLog "Creating qmake. Please wait..." 810 817 811 818 /* take the correct Makefile and fix it */ … … 925 932 if (G.CFG_SQLITE == "system") then do 926 933 /* @todo external sqlite3 library isn't yet supported */ 927 call Say Say,934 call SayLog, 928 935 "Warning: Linking against the external sqlite3 library isn't yet supported,"G.EOL||, 929 936 "the sqlite SQL driver is disabled"G.EOL||G.EOL … … 1029 1036 end 1030 1037 1038 if (G.CFG_IPV6 == "yes") then 1039 G.QT_CONFIG = Join(G.QT_CONFIG, "ipv6") 1040 else 1041 G.CFG_IPV6 = "no" 1042 1031 1043 /* @todo do we really need this? 1032 1044 if (G.CFG_MMX == "yes") then … … 1040 1052 if (G.CFG_IWMMXT == "yes") then 1041 1053 G.QMAKE_CONFIG = Join(G.QMAKE_CONFIG, "iwmmxt") 1042 if (G.CFG_IPV6 == "yes") then1043 G.QT_CONFIG = Join(G.QT_CONFIG, "ipv6")1044 1054 if (G.CFG_CLOCK_GETTIME == "yes") then 1045 1055 G.QT_CONFIG = Join(G.QT_CONFIG, "clock-gettime") … … 1147 1157 if (G.CFG_EXCEPTIONS \== "no") then 1148 1158 G.QTCONFIG_CONFIG = Join(G.QTCONFIG_CONFIG, "exceptions") 1159 else 1160 G.CFG_EXCEPTIONS = "no" 1161 1162 if (G.CFG_CONCURRENT == "auto") then 1163 G.CFG_CONCURRENT = "yes" 1164 1165 if (G.CFG_CONCURRENT == "no") then 1166 G.QCONFIG_FLAGS = Join(G.QCONFIG_FLAGS, "QT_NO_CONCURRENT") 1149 1167 1150 1168 if (G.CFG_XMLPATTERNS == "yes" & G.CFG_EXCEPTIONS == "no") then do … … 1162 1180 G.QCONFIG_FLAGS = Join(G.QCONFIG_FLAGS, "QT_NO_XMLPATTERNS") 1163 1181 1182 if (G.CFG_MULTIMEDIA == "auto") then 1183 G.CFG_MULTIMEDIA == "yes" 1184 1185 if (G.CFG_MULTIMEDIA == "no") then 1186 G.QCONFIG_FLAGS = Join(G.QCONFIG_FLAGS, "QT_NO_MULTIMEDIA") 1187 else 1188 G.QT_CONFIG = Join(G.QT_CONFIG, "multimedia") 1189 1190 if (G.CFG_AUDIO_BACKEND == "yes") then 1191 G.QT_CONFIG = Join(G.QT_CONFIG, "audio-backend") 1192 1164 1193 if (G.CFG_SVG == "yes") then 1165 1194 G.QT_CONFIG = Join(G.QT_CONFIG, "svg") 1166 1195 else 1167 1196 G.QCONFIG_FLAGS = Join(G.QCONFIG_FLAGS, "QT_NO_SVG") 1197 1198 if (G.CFG_DECLARATIVE == "auto") then 1199 G.CFG_DECLARATIVE = "yes" 1200 1201 if (G.CFG_DECLARATIVE == "yes") then 1202 G.QT_CONFIG = Join(G.QT_CONFIG, "declarative") 1203 else 1204 G.QCONFIG_FLAGS = Join(G.QCONFIG_FLAGS, "QT_NO_DECLARATIVE") 1168 1205 1169 1206 if (G.CFG_WEBKIT == "auto") then … … 1179 1216 end 1180 1217 1218 if (G.CFG_SCRIPT == "auto") then 1219 G.CFG_SCRIPT = "yes" 1220 1221 if (G.CFG_SCRIPT == "yes") then 1222 G.QT_CONFIG = Join(G.QT_CONFIG, "script") 1223 else 1224 G.QCONFIG_FLAGS = Join(G.QCONFIG_FLAGS, "QT_NO_SCRIPT") 1225 1181 1226 if (G.CFG_SCRIPTTOOLS == "auto") then 1182 1227 G.CFG_SCRIPTTOOLS = "yes" … … 1190 1235 1191 1236 if (G.CFG_EXCEPTIONS == "no") then do 1237 call QMakeVar "add", "QMAKE_CFLAGS", "$$QMAKE_CFLAGS_EXCEPTIONS_OFF" 1192 1238 call QMakeVar "add", "QMAKE_CXXFLAGS", "$$QMAKE_CXXFLAGS_EXCEPTIONS_OFF" 1239 call QMakeVar "add", "QMAKE_LFLAGS", "$$QMAKE_LFLAGS_EXCEPTIONS_OFF" 1193 1240 G.QMAKE_CONFIG = Join(G.QMAKE_CONFIG, "exceptions_off") 1194 1241 end … … 1292 1339 opt = strip(word(G.D_FLAGS, i)) 1293 1340 if (StartsWith(opt, "QT_NO")) then do 1341 /* skip defines marked as not affecting binary compatibility */ 1342 if (wordpos(opt, G.BUILD_KEY_IRRELEVANT) \= 0) then 1343 iterate 1294 1344 /* maintan sort order and unicity (helps ensure that changes in this 1295 1345 * configure script don't affect the QT_BUILD_KEY generation) */ … … 1422 1472 if (G.CFG_EXCEPTIONS == "no") then 1423 1473 G.QCONFIG_FLAGS = Join(G.QCONFIG_FLAGS, "QT_NO_EXCEPTIONS") 1424 /* @todo detect what's actually relevant 1425 if (G.CFG_IPV6 == "no") then 1474 if (G.CFG_IPV6 \== "yes") then 1426 1475 G.QCONFIG_FLAGS = Join(G.QCONFIG_FLAGS, "QT_NO_IPV6") 1427 */1428 1476 if (G.CFG_QGTKSTYLE \== "yes") then 1429 1477 G.QCONFIG_FLAGS = Join(G.QCONFIG_FLAGS, "QT_NO_STYLE_GTK") 1430 if (G.CFG_OPENSSL == "no") then1478 if (G.CFG_OPENSSL \== "yes") then 1431 1479 G.QCONFIG_FLAGS = Join(G.QCONFIG_FLAGS, "QT_NO_OPENSSL") 1432 if (G.CFG_DBUS == "no") then1480 if (G.CFG_DBUS \== "yes") then 1433 1481 G.QCONFIG_FLAGS = Join(G.QCONFIG_FLAGS, "QT_NO_DBUS") 1434 1482 … … 1708 1756 --------------------------------------------------------------------------*/ 1709 1757 1758 call SayLog 1759 1710 1760 /* G++ is the only supported compiler on OS/2 so far */ 1761 /* @todo enable this code when we start processing command line options 1711 1762 if (G.CFG_EXCEPTIONS \== "no") then 1712 call Say Say,1763 call SayLog, 1713 1764 ' This target is using the GNU C++ compiler ('G.PLATFORM').'G.EOL||, 1714 1765 ''G.EOL||, … … 1720 1771 ' option to compile Qt without exceptions. This is completely binary'G.EOL||, 1721 1772 ' compatible, and existing applications will continue to work.'G.EOL||G.EOL 1773 */ 1722 1774 1723 1775 if (G.XPLATFORM == G.PLATFORM) then 1724 call Say Say"Build type: "G.PLATFORM1776 call SayLog "Build type: "G.PLATFORM 1725 1777 else do 1726 call SaySay "Building on: "G.PLATFORM 1727 call SaySay "Building for: "G.XPLATFORM 1728 end 1729 1730 call SaySay "Architecture: "G.CFG_ARCH 1731 1732 if (G.OPT_VERBOSE == "yes") then do 1733 call SaySay "qmake vars .......... "replace(G.QMAKE_VARS,G.EOL,' ') 1734 call SaySay "qmake switches ...... "G.QMAKE_SWITCHES 1735 end 1778 call SayLog "Building on: "G.PLATFORM 1779 call SayLog "Building for: "G.XPLATFORM 1780 end 1781 1782 call SayLog "Architecture: "G.CFG_ARCH 1783 call SayLog 1736 1784 1737 1785 /* @todo process CFG_INCREMENTAL? */ 1738 1786 1739 call Say Say"Build ............... "G.CFG_BUILD_PARTS1740 call Say Say"Configuration ....... "G.QMAKE_CONFIG G.QT_CONFIG1787 call SayLog "Build ............... "G.CFG_BUILD_PARTS 1788 call SayLog "Configuration ....... "G.QMAKE_CONFIG G.QT_CONFIG 1741 1789 if (G.CFG_DEBUG_RELEASE == "yes") then do 1742 call Say Say"Debug ............... yes (combined)"1790 call SayLog "Debug ............... yes (combined)" 1743 1791 if (G.CFG_DEBUG == "yes") then 1744 call Say Say"Default Link ........ debug"1792 call SayLog "Default Link ........ debug" 1745 1793 else 1746 call Say Say"Default Link ........ release"1794 call SayLog "Default Link ........ release" 1747 1795 end 1748 1796 else 1749 call SaySay "Debug ............... "G.CFG_DEBUG 1750 1751 call SaySay "Qt 3 compatibility .. "G.CFG_QT3SUPPORT 1797 call SayLog "Debug ............... "G.CFG_DEBUG 1798 1799 call SayLog "Qt 3 compatibility .. "G.CFG_QT3SUPPORT 1800 if (G.CFG_DBUS == "no") then 1801 call SayLog "QtDBus module ....... no" 1802 if (G.CFG_DBUS == "yes") then 1803 call SayLog "QtDBus module ....... yes (run-time)" 1804 if (G.CFG_DBUS == "linked") then 1805 call SayLog "QtDBus module ....... yes (linked)" 1806 call SayLog "QtConcurrent code.... "G.CFG_CONCURRENT 1807 call SayLog "QtScript module ..... "G.CFG_SCRIPT 1808 call SayLog "QtScriptTools module "G.CFG_SCRIPTTOOLS 1809 call SayLog "QtXmlPatterns module "G.CFG_XMLPATTERNS 1810 call SayLog "Phonon module ....... "G.CFG_PHONON 1811 call SayLog "Multimedia module ... "G.CFG_MULTIMEDIA 1812 call SayLog "SVG module .......... "G.CFG_SVG 1813 call SayLog "WebKit module ....... "G.CFG_WEBKIT 1814 call SayLog "Declarative module .. "G.CFG_DECLARATIVE 1815 call SayLog "STL support ......... "G.CFG_STL 1816 call SayLog "PCH support ......... "G.CFG_PRECOMPILE 1752 1817 /* @todo do we really need this? 1753 [ "$CFG_DBUS" = "no" ] && echo "QtDBus module ....... no" 1754 [ "$CFG_DBUS" = "yes" ] && echo "QtDBus module ....... yes (run-time)" 1755 [ "$CFG_DBUS" = "linked" ] && echo "QtDBus module ....... yes (linked)" 1818 call SayLog "MMX/3DNOW/SSE/SSE2.. "G.CFG_MMX}"/"G.CFG_3DNOW"/"G.CFG_SSE"/"G.CFG_SSE2 1756 1819 */ 1757 call SaySay "QtScriptTools module "G.CFG_SCRIPTTOOLS 1758 call SaySay "QtXmlPatterns module "G.CFG_XMLPATTERNS 1759 call SaySay "Phonon module ....... "G.CFG_PHONON 1760 call SaySay "SVG module .......... "G.CFG_SVG 1761 call SaySay "WebKit module ....... "G.CFG_WEBKIT 1762 call SaySay "STL support ......... "G.CFG_STL 1763 call SaySay "PCH support ......... "G.CFG_PRECOMPILE 1820 call SayLog "Graphics System ..... "G.CFG_GRAPHICS_SYSTEM 1821 call SayLog "IPv6 support ........ "G.CFG_IPV6 1822 call SayLog "Accessibility ....... "G.CFG_ACCESSIBILITY 1823 call SayLog "NIS support ......... "G.CFG_NIS 1824 call SayLog "CUPS support ........ "G.CFG_CUPS 1764 1825 /* @todo do we really need this? 1765 call SaySay "MMX/3DNOW/SSE/SSE2.. "G.CFG_MMX}"/"G.CFG_3DNOW"/"G.CFG_SSE"/"G.CFG_SSE2 1826 call SayLog "IPv6 ifname support . "G.CFG_IPV6IFNAME 1827 call SayLog "getifaddrs support .. "G.CFG_GETIFADDRS 1828 call SayLog "Iconv support ....... "G.CFG_ICONV 1829 call SayLog "Glib support ........ "G.CFG_GLIB 1830 call SayLog "GStreamer support ... "G.CFG_GSTREAMER 1766 1831 */ 1767 call SaySay "Graphics System ..... "G.CFG_GRAPHICS_SYSTEM 1768 call SaySay "Accessibility ....... "G.CFG_ACCESSIBILITY 1769 call SaySay "CUPS support ........ "G.CFG_CUPS 1770 call SaySay "NIS support ......... "G.CFG_NIS 1771 /* @todo do we really need this? 1772 call SaySay "IPv6 support ........ "G.CFG_IPV6 1773 call SaySay "IPv6 ifname support . "G.CFG_IPV6IFNAME 1774 call SaySay "getifaddrs support .. "G.CFG_GETIFADDRS 1775 call SaySay "Iconv support ....... "G.CFG_ICONV 1776 call SaySay "Glib support ........ "G.CFG_GLIB 1777 call SaySay "GStreamer support ... "G.CFG_GSTREAMER 1778 */ 1779 call SaySay "Large File support .. "G.CFG_LARGEFILE 1780 call SaySay "GIF support ......... "G.CFG_GIF 1832 call SayLog "Large File support .. "G.CFG_LARGEFILE 1833 call SayLog "GIF support ......... "G.CFG_GIF 1781 1834 if (G.CFG_TIFF == "no") then 1782 call Say Say"TIFF support ........ "G.CFG_TIFF1835 call SayLog "TIFF support ........ "G.CFG_TIFF 1783 1836 else 1784 call Say Say"TIFF support ........ "G.CFG_TIFF" ("G.CFG_LIBTIFF")"1837 call SayLog "TIFF support ........ "G.CFG_TIFF" ("G.CFG_LIBTIFF")" 1785 1838 if (G.CFG_JPEG == "no") then 1786 call Say Say"JPEG support ........ "G.CFG_JPEG1839 call SayLog "JPEG support ........ "G.CFG_JPEG 1787 1840 else 1788 call Say Say"JPEG support ........ "G.CFG_JPEG" ("G.CFG_LIBJPEG")"1841 call SayLog "JPEG support ........ "G.CFG_JPEG" ("G.CFG_LIBJPEG")" 1789 1842 if (G.CFG_PNG == "no") then 1790 call Say Say"PNG support ......... "G.CFG_PNG1843 call SayLog "PNG support ......... "G.CFG_PNG 1791 1844 else 1792 call Say Say"PNG support ......... "G.CFG_PNG" ("G.CFG_LIBPNG")"1845 call SayLog "PNG support ......... "G.CFG_PNG" ("G.CFG_LIBPNG")" 1793 1846 if (G.CFG_MNG == "no") then 1794 call Say Say"MNG support ......... "G.CFG_MNG1847 call SayLog "MNG support ......... "G.CFG_MNG 1795 1848 else 1796 call Say Say"MNG support ......... "G.CFG_MNG" ("G.CFG_LIBMNG")"1797 call Say Say"zlib support ........ "G.CFG_ZLIB1798 call Say Say"Session management .. "G.CFG_SM1849 call SayLog "MNG support ......... "G.CFG_MNG" ("G.CFG_LIBMNG")" 1850 call SayLog "zlib support ........ "G.CFG_ZLIB 1851 call SayLog "Session management .. "G.CFG_SM 1799 1852 1800 1853 if (G.CFG_OPENGL == "desktop") then 1801 call Say Say"OpenGL support ...... yes (Desktop OpenGL)"1854 call SayLog "OpenGL support ...... yes (Desktop OpenGL)" 1802 1855 else if (G.CFG_OPENGL == "es1") then 1803 call Say Say"OpenGL support ...... yes (OpenGL ES 1.x Common profile)"1856 call SayLog "OpenGL support ...... yes (OpenGL ES 1.x Common profile)" 1804 1857 else if (G.CFG_OPENGL == "es1cl") then 1805 call Say Say"OpenGL support ...... yes (OpenGL ES 1.x Common Lite profile)"1858 call SayLog "OpenGL support ...... yes (OpenGL ES 1.x Common Lite profile)" 1806 1859 else if (G.CFG_OPENGL == "es2") then 1807 call Say Say"OpenGL support ...... yes (OpenGL ES 2.x)"1860 call SayLog "OpenGL support ...... yes (OpenGL ES 2.x)" 1808 1861 else 1809 call Say Say"OpenGL support ...... no"1862 call SayLog "OpenGL support ...... no" 1810 1863 1811 1864 if (G.CFG_SQL_mysql \== "no") then 1812 call Say Say"MySQL support ....... "G.CFG_SQL_mysql1865 call SayLog "MySQL support ....... "G.CFG_SQL_mysql 1813 1866 if (G.CFG_SQL_psql \== "no") then 1814 call Say Say"PostgreSQL support .. "G.CFG_SQL_psql1867 call SayLog "PostgreSQL support .. "G.CFG_SQL_psql 1815 1868 if (G.CFG_SQL_odbc \== "no") then 1816 call Say Say"ODBC support ........ "G.CFG_SQL_odbc1869 call SayLog "ODBC support ........ "G.CFG_SQL_odbc 1817 1870 if (G.CFG_SQL_oci \== "no") then 1818 call Say Say"OCI support ......... "G.CFG_SQL_oci1871 call SayLog "OCI support ......... "G.CFG_SQL_oci 1819 1872 if (G.CFG_SQL_tds \== "no") then 1820 call Say Say"TDS support ......... "G.CFG_SQL_tds1873 call SayLog "TDS support ......... "G.CFG_SQL_tds 1821 1874 if (G.CFG_SQL_db2 \== "no") then 1822 call Say Say"DB2 support ......... "G.CFG_SQL_db21875 call SayLog "DB2 support ......... "G.CFG_SQL_db2 1823 1876 if (G.CFG_SQL_ibase \== "no") then 1824 call Say Say"InterBase support ... "G.CFG_SQL_ibase1877 call SayLog "InterBase support ... "G.CFG_SQL_ibase 1825 1878 if (G.CFG_SQL_sqlite2 \== "no") then 1826 call Say Say"SQLite 2 support .... "G.CFG_SQL_sqlite21879 call SayLog "SQLite 2 support .... "G.CFG_SQL_sqlite2 1827 1880 if (G.CFG_SQL_sqlite \== "no") then 1828 call Say Say"SQLite support ...... "G.CFG_SQL_sqlite" ("G.CFG_SQLITE")"1881 call SayLog "SQLite support ...... "G.CFG_SQL_sqlite" ("G.CFG_SQLITE")" 1829 1882 1830 1883 OPENSSL_LINKAGE = "" … … 1833 1886 else if (G.CFG_OPENSSL == "linked") then 1834 1887 OPENSSL_LINKAGE = "(linked)" 1835 call Say Say"OpenSSL support ..... "G.CFG_OPENSSL OPENSSL_LINKAGE1888 call SayLog "OpenSSL support ..... "G.CFG_OPENSSL OPENSSL_LINKAGE 1836 1889 1837 1890 if (G.CFG_PTMALLOC \== "no") then 1838 call Say Say"Use ptmalloc ........ "G.CFG_PTMALLOC1891 call SayLog "Use ptmalloc ........ "G.CFG_PTMALLOC 1839 1892 1840 1893 if (G.QMAKE_EXEPACK \== "") then 1841 call Say Say"Exepack support ..... yes ("G.QMAKE_EXEPACK")"1894 call SayLog "Exepack support ..... yes ("G.QMAKE_EXEPACK")" 1842 1895 else 1843 call Say Say"Exepack support ..... no"1896 call SayLog "Exepack support ..... no" 1844 1897 1845 1898 /* complain about not being able to use dynamic plugins if we are using a static build */ 1846 1899 if (G.CFG_SHARED == "no") then 1847 call Say Say,,1900 call SayLog,, 1848 1901 G.EOL||, 1849 1902 "WARNING: Using static linking will disable the use of dynamically"G.EOL||, … … 1852 1905 G.EOL 1853 1906 if (G.CFG_OPENSSL == "linked" & OPENSSL_LIBS == "") then 1854 call Say Say,,1907 call SayLog,, 1855 1908 G.EOL||, 1856 1909 "NOTE: When linking against OpenSSL, you can override the default"G.EOL||, … … 1860 1913 G.EOL 1861 1914 1862 call SaySay 1915 call SayLog 1916 1917 /* we don't want to print this, it's in .qmake.cache anyway */ 1918 /* 1919 call SayVerbose "qmake vars .......... "G.EOL' 'replace(G.QMAKE_VARS,G.EOL,G.EOL' ') 1920 call SayVerbose "qmake switches ...... "G.QMAKE_SWITCHES 1921 call SayVerbose 1922 */ 1863 1923 1864 1924 /*-------------------------------------------------------------------------- … … 1866 1926 --------------------------------------------------------------------------*/ 1867 1927 1868 call Say Say"Finding project files. Please wait..."1928 call SayLog "Finding project files. Please wait..." 1869 1929 1870 1930 /* @todo walk through the demos, examples, doc, translations trees 1871 1931 * (depending on G.CFG_BUILD_PARTS) and call qmake on .pro files */ 1872 1932 1873 call Say Say"Creating makefiles. Please wait..."1933 call SayLog "Creating makefiles. Please wait..." 1874 1934 1875 1935 if (pos("qmake", G.CFG_BUILD_PARTS) > 0) then … … 1901 1961 --------------------------------------------------------------------------*/ 1902 1962 if (G.CFG_ARCH == "generic") then 1903 call Say Say,,1963 call SayLog,, 1904 1964 G.EOL||, 1905 1965 ' NOTICE: Atomic operations are not yet supported for this'G.EOL||, … … 1920 1980 1921 1981 G.MAKE = filespec('N', G.MAKE) 1922 call Say Say1923 call Say Say"Qt is now configured for building. Just run '"G.MAKE"'."1924 call Say Say1925 call Say Say"To reconfigure, run '"G.MAKE" confclean' and 'configure.cmd'."1926 call Say Say1982 call SayLog 1983 call SayLog "Qt is now configured for building. Just run '"G.MAKE"'." 1984 call SayLog 1985 call SayLog "To reconfigure, run '"G.MAKE" confclean' and 'configure.cmd'." 1986 call SayLog 1927 1987 1928 1988 return … … 2158 2218 return 2159 2219 2160 SayErr: procedure expose (Globals)2161 parse arg str, noeol2162 noeol = (noeol == 1)2163 if (noeol) then call charout, str2164 else say str2165 return2166 2167 2220 SayPrompt: procedure expose (Globals) 2168 2221 parse arg str, noeol … … 2172 2225 return 2173 2226 2227 SayLog: procedure expose (Globals) 2228 parse arg str, noeol 2229 noeol = (noeol == 1) 2230 call SaySay str, noeol 2231 if (noeol) then call charout G.LogFile, str 2232 else call lineout G.LogFile, str 2233 return 2234 2235 SayErr: procedure expose (Globals) 2236 parse arg str, noeol 2237 call SayLog str, noeol 2238 return 2239 2174 2240 SayVerbose: procedure expose (Globals) 2175 2241 parse arg str, noeol 2176 if (G.Verbose) then call Say Saystr, noeol2242 if (G.Verbose) then call SayLog str, noeol 2177 2243 return 2178 2244
Note:
See TracChangeset
for help on using the changeset viewer.