diff options
author | Nicholas Clark <nick@ccl4.org> | 2009-09-26 21:15:34 +0100 |
---|---|---|
committer | Nicholas Clark <nick@ccl4.org> | 2009-09-26 21:29:26 +0100 |
commit | a193a2dbe32848820392de0a7fd340ca82c2efd9 (patch) | |
tree | b05d072dcaf2cf6a62c00b57eef0c1010e0e9cd8 /configure.com | |
parent | fe0fb48b9e1689ad6e74e0516047f20e411bc3b4 (diff) | |
download | perl-a193a2dbe32848820392de0a7fd340ca82c2efd9.tar.gz |
Support building extensions in dist/ as well as cpan/ and ext/
Diffstat (limited to 'configure.com')
-rw-r--r-- | configure.com | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/configure.com b/configure.com index d79d6f4377..d5ea93253c 100644 --- a/configure.com +++ b/configure.com @@ -2727,6 +2727,7 @@ $ OPEN/READ CONFIG 'manifestfound' $ext_loop: $ READ/END_OF_FILE=end_ext/ERROR=end_ext CONFIG line $ IF F$EXTRACT(0,4,line) .NES. "ext/" .AND. - + F$EXTRACT(0,5,line) .NES. "dist/".AND. - F$EXTRACT(0,5,line) .NES. "cpan/" THEN goto ext_loop $ line = F$EDIT(line,"COMPRESS") $ line = F$ELEMENT(0," ",line) @@ -2735,6 +2736,11 @@ $ THEN $ xxx = F$ELEMENT(1,"/",line) $ IF F$SEARCH("[-.ext]''xxx'.DIR;1") .EQS. "" THEN GOTO ext_loop $ ENDIF +$ IF F$EXTRACT(0,5,line) .EQS. "dist/" +$ THEN +$ xxx = F$ELEMENT(1,"/",line) +$ IF F$SEARCH("[-.dist]''xxx'.DIR;1") .EQS. "" THEN GOTO ext_loop +$ ENDIF $ IF F$EXTRACT(0,5,line) .EQS. "cpan/" $ THEN $ xxx = F$ELEMENT(1,"/",line) @@ -2790,7 +2796,7 @@ $ xxx = F$EXTRACT(F$LENGTH(extspec) + 1, extlen, xxx) $ ENDIF $! $ found_new_extension: -$ IF F$SEARCH("[-.ext.''extension_dir_name']*.xs") .EQS. "" .AND. F$SEARCH("[-.cpan.''extension_dir_name']*.xs") .EQS. "" +$ IF F$SEARCH("[-.ext.''extension_dir_name']*.xs") .EQS. "" .AND. F$SEARCH("[-.dist.''extension_dir_name']*.xs") .EQS. "" .AND. F$SEARCH("[-.cpan.''extension_dir_name']*.xs") .EQS. "" $ THEN $ nonxs_ext = nonxs_ext + " ''extspec'" $ ELSE |