Changeset 5041 in vbox
- Timestamp:
- Sep 26, 2007 9:32:15 AM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/configure
r4913 r5041 27 27 # 28 28 OSE=1 29 ODIR="`pwd`/" 30 SETUP_WINE= 29 31 TARGET_MACHINE="" 30 32 TARGET_CPU="" … … 1151 1153 } 1152 1154 1155 # 1156 # Setup wine 1157 # 1158 setup_wine() 1159 { 1160 test_header "wine support" 1161 export WINEPREFIX="${ODIR}wine.$BUILD_MACHINE" 1162 echo "export WINEPREFIX==\"${ODIR}wine.$BUILD_MACHINE\"" >> $ENV 1163 rm -rf $WINEPREFIX 1164 mkdir -p $WINEPREFIX 1165 touch $WINEPREFIX/.no_prelaunch_window_flag 1166 if ! wineprefixcreate -q; then 1167 echo " wineprefixcreate failed" 1168 fail 1169 fi 1170 tmp=.tmp.wine.reg 1171 rm -f $tmp 1172 echo 'REGEDIT4' > $tmp 1173 echo '' >> $tmp 1174 echo '[HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\Session Manager\Environment]' >> $tmp 1175 echo "\"PATH\"=\"c:\\\\\\\\windows\\\\\\\\system32;c:\\\\\\\\windows;z:$DEVDIR/win.x86/vcc/v8/bin/Microsoft.VC80.CRT;z:$DEVDIR/win.x86/HTML_Help_Workshop/v1.3\"" >> $tmp 1176 echo '' >> $tmp 1177 echo '[HKEY_CURRENT_USER\Software\Wine\AppDefaults\hhc.exe\DllOverrides]' >> $tmp 1178 echo '"itss"="native"' >> $tmp 1179 echo '' >> $tmp 1180 echo '[HKEY_CURRENT_USER\Software\Wine\AppDefaults\hhw.exe\DllOverrides]' >> $tmp 1181 echo '"itss"="native"' >> $tmp 1182 echo '' >> $tmp 1183 if ! wine regedit $tmp; then 1184 rm -f $tmp 1185 echo " failed to load registry changes (path)." 1186 fail 1187 fi 1188 rm -f $tmp 1189 } 1190 1153 1191 1154 1192 # … … 1166 1204 --disable-sdl-ttf disable SDL_ttf detection 1167 1205 --build-xalan build xalan & xerces from shipped sources 1206 --setup-wine setup a Wine directory and register the hhc hack 1168 1207 1169 1208 Paths: … … 1273 1312 ODIR="`echo $option | cut -d'=' -f2`/" 1274 1313 ;; 1314 --setup-wine) 1315 SETUP_WINE=1 1316 ;; 1275 1317 *) 1276 1318 echo … … 1396 1438 [ "$BUILD_MACHINE" = "amd64" ] && check_32bit 1397 1439 fi 1440 1441 [ -n "$SETUP_WINE" ] && setup_wine 1398 1442 1399 1443 # success!
Note:
See TracChangeset
for help on using the changeset viewer.