X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=vms%2Fgenconfig.pl;h=6e9df703ebd9cad3c0aa368fbbbe28b7b3a5d6c3;hb=abdc98d4d1d4977a2f117cdf04cc23b0bad1e031;hp=ef1d5ad4a5af331f45f37bece8325ced9e047e79;hpb=0e06870bf080a38cda51c06c6612359afc2334e1;p=p5sagit%2Fp5-mst-13.2.git diff --git a/vms/genconfig.pl b/vms/genconfig.pl index ef1d5ad..6e9df70 100644 --- a/vms/genconfig.pl +++ b/vms/genconfig.pl @@ -140,7 +140,14 @@ foreach (@ARGV) { $d_attr = 'undef'; } print OUT "vms_cc_type='$cctype'\n"; - print OUT "d_attribut='$d_attr'\n"; + print OUT "d_attribute_format='$d_attr'\n"; + # XXX The following attributes may be able to use $d_attr, too. + print OUT "d_attribute_malloc='undef'\n"; + print OUT "d_attribute_nonnull='undef'\n"; + print OUT "d_attribute_noreturn='undef'\n"; + print OUT "d_attribute_pure='undef'\n"; + print OUT "d_attribute_unused='undef'\n"; + print OUT "d_attribute_warn_unused_result='undef'\n"; print OUT "cc='$cc'\n"; if ( ($cctype eq 'decc' and $archsufx eq 'VAX') || $cctype eq 'gcc') { # gcc and DECC for VAX requires filename in /object qualifier, so we @@ -157,8 +164,8 @@ foreach (@ARGV) { $optimize = $qual; $ccflags =~ s/$qual//; } - $usethreads = ($ccflags =~ m!/DEF[^/]+USE_THREADS!i and - $ccflags !~ m!/UND[^/]+USE_THREADS!i); + $usethreads = ($ccflags =~ m!/DEF[^/]+USE_5005THREADS!i and + $ccflags !~ m!/UND[^/]+USE_5005THREADS!i); print OUT "usethreads='",($usethreads ? 'define' : 'undef'),"'\n";; $optimize = "$debug$optimize"; print OUT "ccflags='$ccflags'\n"; @@ -367,8 +374,8 @@ close IN; # as the manifest for the obsolete variable $d_eunice. print OUT "d_eunice='undef'\n"; delete $pp_vars{VMS}; -# XXX temporary -- USE_THREADS is currently on CC command line -delete $pp_vars{'USE_THREADS'}; +# XXX temporary -- USE_5005THREADS is currently on CC command line +delete $pp_vars{'USE_5005THREADS'}; foreach (sort keys %pp_vars) { warn "Didn't see $_ in $infile\n";