summaryrefslogtreecommitdiff
path: root/configure.com
diff options
context:
space:
mode:
authorJarkko Hietaniemi <jhi@iki.fi>2000-12-19 17:55:29 +0000
committerJarkko Hietaniemi <jhi@iki.fi>2000-12-19 17:55:29 +0000
commit17e8697d24fcc59ea13ba874c1951d70876b657d (patch)
tree1d283982320d0f8e96c06ecb4864cc3f17b369f0 /configure.com
parent73969f8fab365da08c6e9add280e110329b576aa (diff)
downloadperl-17e8697d24fcc59ea13ba874c1951d70876b657d.tar.gz
In VMS embedded perls couldn't access the statically built Socket,
from Charles Lane. p4raw-id: //depot/perl@8197
Diffstat (limited to 'configure.com')
-rw-r--r--configure.com7
1 files changed, 6 insertions, 1 deletions
diff --git a/configure.com b/configure.com
index 36bf11e053..e79fc98468 100644
--- a/configure.com
+++ b/configure.com
@@ -53,6 +53,7 @@ $ use_two_pot_malloc = "N"
$ use_pack_malloc = "N"
$ use_debugmalloc = "N"
$ ccflags = ""
+$ static_ext = ""
$ vms_default_directory_name = F$ENVIRONMENT("DEFAULT")
$ max_allowed_dir_depth = 3 ! e.g. [A.B.PERLxxx] not [A.B.C.PERLxxx]
$! max_allowed_dir_depth = 2 ! e.g. [A.PERLxxx] not [A.B.PERLxxx]
@@ -2061,6 +2062,10 @@ $ ans = F$EDIT(ans,"TRIM,COMPRESS,LOWERCASE")
$ IF ans.eqs."decc" then Has_Dec_C_Sockets = "T"
$ IF ans.eqs."socketshr" then Has_socketshr = "T"
$ ENDIF
+$ IF Has_Dec_C_Sockets .or. Has_socketshr
+$ THEN
+$ static_ext = f$edit(static_ext+" "+"Socket","trim,compress")
+$ ENDIF
$!
$!
$! Ask if they want to build with VMS_DEBUG perl
@@ -5310,7 +5315,7 @@ $ WC "spitshell='write sys$output '"
$ WC "src='" + src + "'"
$ WC "ssizetype='int'"
$ WC "startperl=" + startperl ! This one's special--no enclosing single quotes
-$ WC "static_ext='" + "'"
+$ WC "static_ext='" + static_ext + "'"
$ WC "stdchar='" + stdchar + "'"
$ WC "stdio_base='((*fp)->_base)'"
$ WC "stdio_bufsiz='((*fp)->_cnt + (*fp)->_ptr - (*fp)->_base)'"