summaryrefslogtreecommitdiff
path: root/configure.com
diff options
context:
space:
mode:
authorCharles Bailey <bailey@newman.upenn.edu>2000-03-06 03:40:14 +0000
committerbailey <bailey@newman.upenn.edu>2000-03-06 03:40:14 +0000
commit8f6c6e69ed657049c45673a74079cb7bcffc1d7b (patch)
treea2d815cbbb66a9921dc564b2c03479c28e7d6787 /configure.com
parent11611c0f5c3f6e1aea7785197f65861fcb806b06 (diff)
downloadperl-8f6c6e69ed657049c45673a74079cb7bcffc1d7b.tar.gz
Change $Config{'extensions'} to look Unixy (Charles Lane)
FIx logic error in glob-basic.t (Charles Lane) p4raw-id: //depot/vmsperl@5566
Diffstat (limited to 'configure.com')
-rw-r--r--configure.com34
1 files changed, 34 insertions, 0 deletions
diff --git a/configure.com b/configure.com
index a1e87d5d8a..bdd0accfb6 100644
--- a/configure.com
+++ b/configure.com
@@ -1969,6 +1969,40 @@ $ ENDIF
$ rp = "[''dflt'] "
$ GOSUB myread
$ if ans.eqs."" then ans = "''dflt'"
+$ a = ""
+$ j = 0
+$ xloop1:
+$ x = f$elem(j," ",ans)
+$ j = j + 1
+$ if x .eqs. " " then goto exloop1
+$ xloop2:
+$ k = f$locate("::",x)
+$ if k .ge. f$len(x) then goto exloop2
+$ x = f$extract(0,k,x) + "/" + f$extract(k+2,f$len(x)-2,x)
+$ goto xloop2
+$ exloop2:
+$ a = a + " " + x
+$ goto xloop1
+$ exloop1:
+$ ans = f$edit(a,"trim")
+$!
+$ a = ""
+$ j = 0
+$ xloop3:
+$ x = f$elem(j," ",dflt)
+$ j = j + 1
+$ if x .eqs. " " then goto exloop3
+$ xloop4:
+$ k = f$locate("::",x)
+$ if k .ge. f$len(x) then goto exloop4
+$ x = f$extract(0,k,x) + "/" + f$extract(k+2,f$len(x)-2,x)
+$ goto xloop4
+$ exloop4:
+$ a = a + " " + x
+$ goto xloop3
+$ exloop3:
+$ dflt = f$edit(a,"trim")
+$!
$ extensions = "''ans'"
$ perl_known_extensions = "''dflt'"
$!