diff options
author | John E. Malmberg <wb8tyw@qsl.net> | 2006-03-30 19:39:23 -0500 |
---|---|---|
committer | Craig A. Berry <craigberry@mac.com> | 2006-03-31 16:31:28 +0000 |
commit | cfcfe5866579858930d3348c9cd02c24cb9e9807 (patch) | |
tree | c7dddea0ed1ba17aab2d4ad2cded57f0d1e739e7 /configure.com | |
parent | e6e3e4549ce4a492f10dd4f937e78cadaf4ed317 (diff) | |
download | perl-cfcfe5866579858930d3348c9cd02c24cb9e9807.tar.gz |
[patch@27638] Enable standard stat for VMS >=8.2
From: "John E. Malmberg" <wb8tyw@qsl.net>
Message-id: <442CC08A.30409@qsl.net>
p4raw-id: //depot/perl@27648
Diffstat (limited to 'configure.com')
-rw-r--r-- | configure.com | 25 |
1 files changed, 13 insertions, 12 deletions
diff --git a/configure.com b/configure.com index eebc998f32..62e4192efb 100644 --- a/configure.com +++ b/configure.com @@ -50,6 +50,7 @@ $ use_vmsdebug_perl = "n" $ use64bitall = "n" $ use64bitint = "n" $ uselargefiles = "n" +$ usestdstat = "n" $ usesitecustomize = "n" $ C_Compiler_Replace = "CC=" $ thread_upcalls = "MTU=" @@ -4872,6 +4873,8 @@ $ ENDIF $! $ IF uselargefiles .OR. uselargefiles .eqs. "define" $ THEN +$ echo4 "Largefile support enabled (plus standard stat support on V8.2 and later)" +$ usestdstat = "y" $ IF (vms_ver .GES. "8.2") .AND. (archname .NES. "VMS_VAX") $ THEN $ echo4 - @@ -5616,13 +5619,12 @@ $ WC "cccdlflags='" + cccdlflags + "'" $ WC "ccdlflags='" + ccdlflags + "'" $ IF uselargefiles .OR. uselargefiles .EQS. "define" $ THEN -$! Perl can not use _USE_STD_STAT at the moment -$! IF d_symlink .OR. d_symlink .EQS. "define" -$! THEN -$! ccdefines = "_USE_STD_STAT=1" -$! ELSE +$ IF usestdstat .OR. usestdstat .EQS. "define" +$ THEN +$ ccdefines = "_USE_STD_STAT=1" +$ ELSE $ ccdefines = "_LARGEFILE=1" -$! ENDIF +$ ENDIF $ ELSE $ ccdefines = "" $ ENDIF @@ -6653,13 +6655,12 @@ $ MALLOC_REPLACE = "MALLOC=" $ ENDIF $ IF uselargefiles .OR. uselargefiles .EQS. "define" $ THEN -$! Perl can not use _USE_STD_STAT at the moment -$! IF d_symlink .or. d_symlink .eqs. "define" -$! THEN -$! LARGEFILE_REPLACE = "LARGEFILE=LARGEFILE=_USE_STD_STAT=1" -$! ELSE +$ IF usestdstat .or. usestdstat .eqs. "define" +$ THEN +$ LARGEFILE_REPLACE = "LARGEFILE=LARGEFILE=_USE_STD_STAT=1" +$ ELSE $ LARGEFILE_REPLACE = "LARGEFILE=LARGEFILE=_LARGEFILE=1" -$! ENDIF +$ ENDIF $ ELSE $ LARGEFILE_REPLACE = "LARGEFILE=" $ ENDIF |