X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=configure.com;h=800f054c212d6de1109aaa6c6d042f1ea0640471;hb=2a0de2c52ab4e8b4f51332a0e1eaae4b8cff3f48;hp=93e28c803539843f3e5cfd4643943bdf061f0b64;hpb=8cb5d3d514e985ef6a9641779aa443d9073a96ef;p=p5sagit%2Fp5-mst-13.2.git diff --git a/configure.com b/configure.com index 93e28c8..800f054 100644 --- a/configure.com +++ b/configure.com @@ -50,7 +50,7 @@ $ use_vmsdebug_perl = "n" $ use64bitall = "n" $ use64bitint = "n" $ uselongdouble = "n" -$ uselargefiles = "n" +$ uselargefiles = "y" $ usestdstat = "n" $ usesitecustomize = "n" $ C_Compiler_Replace = "CC=" @@ -853,7 +853,6 @@ $ ENDIF $ ENDIF !(needman .EQS. "true") $! $!: see if sh knows # comments !sfn -$ sharpbang = "$ " $!: figure out how to guarantee sh startup !sfn $!: find out where common programs are !sfn $!loclist="awk/cat/comm/cp/echo/expr/find/grep/ln/ls/mkdir/rm/sed/sort/touch/tr/uniq" @@ -2535,8 +2534,8 @@ $ GOSUB myread $ be_case_sensitive = ans $! IEEE math? $ echo "" -$ echo "Perl normally uses IEEE format (T_FLOAT) floating point numbers" -$ echo "internally on Alpha, but if you need G_FLOAT for binary compatibility" +$ echo "Perl normally uses IEEE format (T_FLOAT) floating point numbers on" +$ echo "Alpha and Itanium, but if you need G_FLOAT for binary compatibility" $ echo "with an external library or existing data, you may wish to disable" $ echo "the IEEE math option." $ bool_dflt = use_ieee_math @@ -2929,6 +2928,11 @@ $! $ IF use_ieee_math $ THEN $ extra_flags = "''extra_flags'" + "/float=ieee/ieee=denorm" +$ ELSE +$ IF (archname.EQS."VMS_IA64") +$ THEN +$ extra_flags = "''extra_flags'" + "/float=g_float" +$ ENDIF $ ENDIF $ IF be_case_sensitive $ THEN @@ -4001,7 +4005,7 @@ $ WS "int main() {" $ WS "#if defined(F_SETLK) && defined(F_SETLKW)" $ WS " struct flock flock;" $ WS " int retval, fd;" -$ WS " fd = open(""try.c"", O_RDONLY);" +$ WS " fd = open(""[-]perl.c"", O_RDONLY);" $ WS " flock.l_type = F_RDLCK;" $ WS " flock.l_whence = SEEK_SET;" $ WS " flock.l_start = flock.l_len = 0;" @@ -4924,10 +4928,10 @@ $ 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 "Largefile support enabled, so enabling standard stat support too." +$ usestdstat = "y" $ echo4 - "Looking for the realpath() function to indicate symbolic link support..." $ OS @@ -6164,6 +6168,7 @@ $ WC "i64type='" + i64type + "'" $ WC "i8size='" + i8size + "'" $ WC "i8type='" + i8type + "'" $ WC "i_arpainet='undef'" +$ WC "i_assert='define'" $ WC "i_crypt='undef'" $ WC "i_db='undef'" $ WC "i_dbm='undef'" @@ -6365,6 +6370,7 @@ $ WC "seedfunc='" + seedfunc + "'" $ WC "selectminbits='32'" $ WC "selecttype='" + selecttype + "'" $ WC "sh='MCR'" +$ WC "sharpbang='#!'" $ WC "shmattype='" + " '" $ WC "shortsize='" + shortsize + "'" $ IF (f$length(sig_name) .GE. 244) @@ -6598,7 +6604,7 @@ $! $! Okay, we've gotten here. Build munchconfig.exe $ COPY/NOLOG [-.vms]munchconfig.c [] $ COPY/NOLOG [-.vms]'Makefile_SH' [] -$ 'Perl_CC' munchconfig.c +$ 'Perl_CC' 'ccflags' munchconfig.c $ IF Needs_Opt $ THEN $ OPEN/WRITE CONFIG []munchconfig.opt @@ -6684,6 +6690,7 @@ $ ENDIF $ IF use64bitall .OR. use64bitall .EQS. "define" THEN - WC "#define USE_64_BIT_ALL" $ IF be_case_sensitive THEN WC "#define VMS_WE_ARE_CASE_SENSITIVE" +$ IF use_ieee_math THEN WC "#define USE_IEEE" $ IF d_herrno .EQS. "undef" THEN WC "#define NEED_AN_H_ERRNO" $ WC "#define HAS_ENVGETENV" $ WC "#define PERL_EXTERNAL_GLOB" @@ -6867,7 +6874,7 @@ $ Set Def &mydefault $ Goto next_ext $ done: $ sts = $Status -$ Set Def &def +$ Set Def &mydefault $ Exit sts $!-- make_ext.com $EndOfTpl$