Fix a problem with the universal interfaces version, and include the build flags module. NOT PART OF THE BUILD

This commit is contained in:
sfraser%netscape.com 2000-10-25 18:52:33 +00:00
Родитель 056b6817df
Коммит 61fec23e6f
2 изменённых файлов: 3 добавлений и 4 удалений

Просмотреть файл

@ -17,6 +17,7 @@ use Mac::Events;
use Mac::StandardFile; use Mac::StandardFile;
use Moz; use Moz;
use MozBuildFlags;
use vars qw(@ISA @EXPORT); use vars qw(@ISA @EXPORT);

Просмотреть файл

@ -42,8 +42,6 @@ sub DoPrebuildCheck()
#// Configure Build System #// Configure Build System
#//-------------------------------------------------------------------------------------------------- #//--------------------------------------------------------------------------------------------------
my($UNIVERSAL_INTERFACES_VERSION) = 0x0320;
sub GenBuildSystemInfo() sub GenBuildSystemInfo()
{ {
# always rebuild the configuration program. # always rebuild the configuration program.
@ -163,7 +161,7 @@ sub ConfigureBuildSystem()
#// we'll assume that 3.3 or later is in use. #// we'll assume that 3.3 or later is in use.
my($universal_interfaces) = CodeWarriorLib::getCodeWarriorPath("MacOS Support:Universal:Interfaces:CIncludes:"); my($universal_interfaces) = CodeWarriorLib::getCodeWarriorPath("MacOS Support:Universal:Interfaces:CIncludes:");
if (-e ($universal_interfaces . "ControlDefinitions.h")) { if (-e ($universal_interfaces . "ControlDefinitions.h")) {
$UNIVERSAL_INTERFACES_VERSION = 0x0330; $main::UNIVERSAL_INTERFACES_VERSION = 0x0330;
} }
#// Rename IC SDK folder in the Mac OS Support folder #// Rename IC SDK folder in the Mac OS Support folder
@ -176,7 +174,7 @@ sub ConfigureBuildSystem()
print "Mozilla no longer needs the Internet Config SDK to build:\n Renaming the 'ICProgKit2.0.2' folder to '(ICProgKit2.0.2)'\n"; print "Mozilla no longer needs the Internet Config SDK to build:\n Renaming the 'ICProgKit2.0.2' folder to '(ICProgKit2.0.2)'\n";
} }
printf("UNIVERSAL_INTERFACES_VERSION = 0x%04X\n", $UNIVERSAL_INTERFACES_VERSION); printf("UNIVERSAL_INTERFACES_VERSION = 0x%04X\n", $main::UNIVERSAL_INTERFACES_VERSION);
UpdateConfigHeader(":mozilla:config:mac:DefinesOptions.h"); UpdateConfigHeader(":mozilla:config:mac:DefinesOptions.h");