Changeset 587
- Timestamp:
- Feb 21, 2010, 6:48:58 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
TabularUnified trunk/configure.cmd ¶
r586 r587 644 644 645 645 G.CFG_ACCESSIBILITY = "no" 646 G.CFG_PHONON = "no" 646 647 G.CFG_MULTIMEDIA = "no" 647 648 G.CFG_IPV6 = "no" 648 649 G.CFG_NIS = "no" 650 G.CFG_DBUS = "no" 651 G.CFG_OPENSSL = "no" 652 G.CFG_QGTKSTYLE = "no" 653 G.CFG_LARGEFILE = "no" 654 G.CFG_PRECOMPILE = "no" /* GCC 4.4.2 crashes with PCH */ 649 655 650 656 /*-------------------------------------------------------------------------- … … 911 917 * structure similar to ./configure */ 912 918 913 /* enable all image formats and ZLIB by default */914 if (G.CFG_GIF == "auto") then G.CFG_GIF = "yes"915 if (G.CFG_TIFF == "auto") then G.CFG_TIFF = "yes"916 if (G.CFG_PNG == "auto") then G.CFG_PNG = "yes"917 if (G.CFG_JPEG == "auto") then G.CFG_JPEG = "yes"918 if (G.CFG_MNG == "auto") then G.CFG_MNG = "yes"919 if (G.CFG_ZLIB == "auto") then G.CFG_ZLIB = "yes"920 921 if (G.CFG_QGTKSTYLE == "auto") then G.CFG_QGTKSTYLE = "no"922 if (G.CFG_OPENSSL == "auto") then G.CFG_OPENSSL = "no"923 if (G.CFG_DBUS == "auto") then G.CFG_DBUS = "no"924 925 if (G.CFG_GRAPHICS_SYSTEM == "default") then G.CFG_GRAPHICS_SYSTEM = "raster"926 927 919 /* auto-detect SQL-modules support */ 928 920 do i = 1 to words(G.CFG_SQL_AVAILABLE) … … 958 950 end 959 951 952 if (G.CFG_WEBKIT == "auto") then 953 G.CFG_WEBKIT = "no" /* WebKit seems to require G++ >= 3.4.x */ 954 960 955 /*-------------------------------------------------------------------------- 961 956 ask for all that hasn't been auto-detected or specified in the arguments 962 957 --------------------------------------------------------------------------*/ 963 958 964 /* nothing so far */ 959 /* We don't ask anything so far. Just apply "yes" to "auto" options */ 960 961 /* enable all image formats and ZLIB by default */ 962 if (G.CFG_GIF == "auto") then G.CFG_GIF = "yes" 963 if (G.CFG_TIFF == "auto") then G.CFG_TIFF = "yes" 964 if (G.CFG_PNG == "auto") then G.CFG_PNG = "yes" 965 if (G.CFG_JPEG == "auto") then G.CFG_JPEG = "yes" 966 if (G.CFG_MNG == "auto") then G.CFG_MNG = "yes" 967 if (G.CFG_ZLIB == "auto") then G.CFG_ZLIB = "yes" 968 969 if (G.CFG_GRAPHICS_SYSTEM == "default") then G.CFG_GRAPHICS_SYSTEM = "raster" 970 971 if (G.CFG_SM == "auto") then G.CFG_SM = "yes" 972 if (G.CFG_STL == "auto") then G.CFG_STL = "yes" 973 if (G.CFG_CONCURRENT == "auto") then G.CFG_CONCURRENT = "yes" 974 if (G.CFG_PHONON == "auto") then G.CFG_PHONON = "yes" 975 if (G.CFG_MULTIMEDIA == "auto") then G.CFG_MULTIMEDIA = "yes" 976 if (G.CFG_DECLARATIVE == "auto") then G.CFG_DECLARATIVE = "yes" 977 if (G.CFG_SCRIPT == "auto") then G.CFG_SCRIPT = "yes" 978 if (G.CFG_SCRIPTTOOLS == "auto") then G.CFG_SCRIPTTOOLS = "yes" 979 if (G.CFG_QGTKSTYLE == "auto") then G.CFG_QGTKSTYLE = "yes" 980 if (G.CFG_OPENSSL == "auto") then G.CFG_OPENSSL = "yes" 981 if (G.CFG_DBUS == "auto") then G.CFG_DBUS = "yes" 965 982 966 983 /*-------------------------------------------------------------------------- … … 968 985 --------------------------------------------------------------------------*/ 969 986 970 /* enable Qt 3 support functionality */971 987 if (G.CFG_QT3SUPPORT == "yes") then 972 988 G.QT_CONFIG = Join(G.QT_CONFIG, "qt3support") 973 989 974 /* enable Phonon */975 990 if (G.CFG_PHONON == "yes") then do 976 991 G.QT_CONFIG = Join(G.QT_CONFIG, "phonon") … … 981 996 G.QCONFIG_FLAGS = Join(G.QCONFIG_FLAGS, "QT_NO_PHONON") 982 997 983 /* disable accessibility */984 998 if (G.CFG_ACCESSIBILITY == "no") then 985 999 G.QCONFIG_FLAGS = Join(G.QCONFIG_FLAGS, "QT_NO_ACCESSIBILITY") … … 987 1001 G.QT_CONFIG = Join(G.QT_CONFIG, "accessibility") 988 1002 989 /* disable opengl */990 1003 if (G.CFG_OPENGL == "yes") then 991 1004 G.QT_CONFIG = Join(G.QT_CONFIG, "opengl") … … 1161 1174 G.CFG_EXCEPTIONS = "no" 1162 1175 1163 if (G.CFG_CONCURRENT == "auto") then1164 G.CFG_CONCURRENT = "yes"1165 1166 1176 if (G.CFG_CONCURRENT == "no") then 1167 1177 G.QCONFIG_FLAGS = Join(G.QCONFIG_FLAGS, "QT_NO_CONCURRENT") … … 1173 1183 end 1174 1184 if (G.CFG_XMLPATTERNS == "auto" & G.CFG_EXCEPTIONS \== "no") then 1175 G.CFG_XMLPATTERNS = "yes" /* QtXmlPatterns is fine for GCC 3.3.x */1185 G.CFG_XMLPATTERNS = "yes" 1176 1186 else if (G.CFG_EXCEPTIONS == "no") then 1177 1187 G.CFG_XMLPATTERNS = "no" … … 1181 1191 G.QCONFIG_FLAGS = Join(G.QCONFIG_FLAGS, "QT_NO_XMLPATTERNS") 1182 1192 1183 if (G.CFG_MULTIMEDIA == "auto") then1184 G.CFG_MULTIMEDIA == "yes"1185 1186 1193 if (G.CFG_MULTIMEDIA == "no") then 1187 1194 G.QCONFIG_FLAGS = Join(G.QCONFIG_FLAGS, "QT_NO_MULTIMEDIA") … … 1197 1204 G.QCONFIG_FLAGS = Join(G.QCONFIG_FLAGS, "QT_NO_SVG") 1198 1205 1199 if (G.CFG_DECLARATIVE == "auto") then1200 G.CFG_DECLARATIVE = "yes"1201 1202 1206 if (G.CFG_DECLARATIVE == "yes") then 1203 1207 G.QT_CONFIG = Join(G.QT_CONFIG, "declarative") 1204 1208 else 1205 1209 G.QCONFIG_FLAGS = Join(G.QCONFIG_FLAGS, "QT_NO_DECLARATIVE") 1206 1207 if (G.CFG_WEBKIT == "auto") then1208 G.CFG_WEBKIT = "no" /* WebKit seems to require G++ >= 3.4.x */1209 1210 1210 1211 if (G.CFG_WEBKIT == "yes") then … … 1217 1218 end 1218 1219 1219 if (G.CFG_SCRIPT == "auto") then1220 G.CFG_SCRIPT = "yes"1221 1222 1220 if (G.CFG_SCRIPT == "yes") then 1223 1221 G.QT_CONFIG = Join(G.QT_CONFIG, "script") 1224 1222 else 1225 1223 G.QCONFIG_FLAGS = Join(G.QCONFIG_FLAGS, "QT_NO_SCRIPT") 1226 1227 if (G.CFG_SCRIPTTOOLS == "auto") then1228 G.CFG_SCRIPTTOOLS = "yes"1229 1224 1230 1225 if (G.CFG_SCRIPTTOOLS == "yes") then … … 1478 1473 if (G.CFG_OPENSSL == "linked") then 1479 1474 G.QCONFIG_FLAGS = Join(G.QCONFIG_FLAGS, "QT_LINKED_OPENSSL") 1475 */ 1480 1476 1481 1477 if (G.CFG_SM == "no") then 1482 1478 G.QCONFIG_FLAGS = Join(G.QCONFIG_FLAGS, "QT_NO_SESSIONMANAGER") 1483 */1484 1479 1485 1480 /* do primitive sorting (the list is not so big so it should be fine) */
Note:
See TracChangeset
for help on using the changeset viewer.