summaryrefslogtreecommitdiff
path: root/vms/genconfig.pl
diff options
context:
space:
mode:
authorCharles Bailey <bailey@newman.upenn.edu>1998-01-02 22:54:29 -0500
committerMalcolm Beattie <mbeattie@sable.ox.ac.uk>1998-01-08 12:56:31 +0000
commitfc1ce8cc0aa3c1d2926edfb2f302ea8c60b40168 (patch)
treed739c6f7d0538e687f6a8a3be61793919216e4f7 /vms/genconfig.pl
parent0151c6efc77004eadcc86505e0e29b10208d3f66 (diff)
downloadperl-fc1ce8cc0aa3c1d2926edfb2f302ea8c60b40168.tar.gz
Assorted VMS patches (mostly VMS makefile update for new headers):
Subject: [PATCH] VMS update for 5.004_56 p4raw-id: //depot/perl@403
Diffstat (limited to 'vms/genconfig.pl')
-rw-r--r--vms/genconfig.pl27
1 files changed, 19 insertions, 8 deletions
diff --git a/vms/genconfig.pl b/vms/genconfig.pl
index 3b88be529b..d2da57262c 100644
--- a/vms/genconfig.pl
+++ b/vms/genconfig.pl
@@ -67,17 +67,17 @@ package='perl5'
CONFIG='true'
cf_time='$time'
cf_by='$cf_by'
-ccdlflags=''
-cccdlflags=''
-mab=''
+ccdlflags='undef'
+cccdlflags='undef'
+mab='undef'
libpth='/sys\$share /sys\$library'
ld='Link'
lddlflags='/Share'
-ranlib=''
-ar=''
+ranlib='undef'
+ar='undef'
eunicefix=':'
hint='none'
-hintfile=''
+hintfile='undef'
useshrplib='define'
usemymalloc='n'
usevfork='true'
@@ -167,12 +167,23 @@ foreach (@ARGV) {
print OUT "d_sockpair=",$dosock ? "'define'\n" : "'undef'\n";
print OUT "d_gethent=",$dosock ? "'define'\n" : "'undef'\n";
print OUT "d_select=",$dosock ? "'define'\n" : "'undef'\n";
+ print OUT "i_netdb=",$dosock ? "'define'\n" : "'undef'\n";
print OUT "i_niin=",$dosock ? "'define'\n" : "'undef'\n";
print OUT "i_neterrno=",$dosock ? "'define'\n" : "'undef'\n";
+ print OUT "d_gethbadd=",$dosock ? "'define'\n" : "'undef'\n";
+ print OUT "gethbadd_addr_type=",$dosock ? "'char *'\n" : "'undef'\n";
+ print OUT "gethbadd_alen_type=",$dosock ? "'int'\n" : "'undef'\n";
+
if ($dosock and $cctype eq 'decc' and $ccflags =~ /DECCRTL_SOCKETS/) {
- print OUT "selecttype=fd_set\n";
+ print OUT "selecttype='fd_set'\n";
+ print OUT "d_getnbadd='define'\n";
+ print OUT "getnbadd_net_type='long'\n";
+ }
+ else {
+ print OUT "selecttype='int'\n";
+ print OUT "d_getnbadd='undef'\n";
+ print OUT "getnbadd_net_type='undef'\n";
}
- else { print OUT "selecttype=int\n"; }
if ($cctype eq 'decc') { $rtlhas = 'define'; print OUT "useposix='true'\n"; }
else { $rtlhas = 'undef'; print OUT "useposix='false'\n"; }