X-Git-Url: https://perl5.git.perl.org/perl5.git/blobdiff_plain/470dd224e4b587137a482c6db3d765860bcba19c..e33057904642d3ac97c1974cfae10cb0c1db9041:/configure.com diff --git a/configure.com b/configure.com index deade6d..f926229 100644 --- a/configure.com +++ b/configure.com @@ -2825,7 +2825,10 @@ $ idx = idx + 1 $ goto replace_dash_with_slash $ $ end_replace_dash_with_slash: -$ +$! +$ IF extspec .EQS. "Scalar/List/Utils" THEN extspec = "List/Util" +$ IF extspec .EQS. "PathTools" THEN extspec = "Cwd" +$! $ xxx = xs_extensions $ gosub may_already_have_extension $ IF $STATUS .EQ. 1 @@ -3310,7 +3313,6 @@ $ THEN d_mymalloc="define" $ ELSE d_mymalloc="undef" $ ENDIF $! -$ usedevel="undef" $ usedl="define" $ startperl="""$ perl 'f$env(\""procedure\"")' \""'"+"'p1'\"" \""'"+"'p2'\"" \""'"+"'p3'\"" \""'"+"'p4'\"" \""'"+"'p5'\"" \""'"+"'p6'\"" \""'"+"'p7'\"" \""'"+"'p8'\""!\n" $ startperl=startperl + "$ exit++ + ++$status!=0 and $exit=$status=undef; while($#ARGV != -1 and $ARGV[$#ARGV] eq '"+"'){pop @ARGV;}""" @@ -3343,6 +3345,7 @@ $ uquadtype = "unsigned long long" $ quadkind = "3" $! $ d_frexpl = "define" +$ d_ldexpl = "define" $ d_modfl = "define" $ d_modflproto = "define" $ ELSE @@ -3364,17 +3367,88 @@ $ uquadtype = "undef" $ quadkind = "undef" $! $ d_frexpl = "undef" +$ d_ldexpl = "undef" $ d_modfl = "undef" $ d_modflproto = "undef" $ ENDIF $! $ IF useieee .OR. useieee .EQS. "define" $ THEN +$ d_acosh = "define" +$ d_asinh = "define" +$ d_atanh = "define" +$ d_cbrt = "define" +$ d_copysign = "define" +$ d_erf = "define" +$ d_erfc = "define" +$ d_exp2 = "define" +$ d_expm1 = "define" +$ d_fdim = "define" +$ d_fma = "define" +$ d_fmax = "define" +$ d_fmin = "define" +$ d_fp_classify = "define" +$ d_hypot = "define" +$ d_ilogb = "define" $ d_isnan = "define" $ d_isnanl = "define" +$ d_isnormal = "define" +$ d_j0 = "define" +$ d_lgamma = "define" +$ d_log1p = "define" +$ d_log2 = "define" +$ d_logb = "define" +$ d_lrint = "define" +$ d_lrintl = "define" +$ d_lround = "define" +$ d_lroundl = "define" +$ d_nearbyint = "define" +$ d_nextafter = "define" +$ d_nexttoward = "define" +$ d_remainder = "define" +$ d_remquo = "define" +$ d_rint = "define" +$ d_tgamma = "define" +$ d_trunc = "define" +$ d_truncl = "define" $ ELSE +$ d_acosh = "undef" +$ d_asinh = "undef" +$ d_atanh = "undef" +$ d_cbrt = "undef" +$ d_copysign = "undef" +$ d_erf = "undef" +$ d_erfc = "undef" +$ d_exp2 = "undef" +$ d_expm1 = "undef" +$ d_fdim = "undef" +$ d_fma = "undef" +$ d_fmax = "undef" +$ d_fmin = "undef" +$ d_fp_classify = "undef" +$ d_hypot = "undef" +$ d_ilogb = "undef" $ d_isnan = "undef" $ d_isnanl = "undef" +$ d_isnormal = "undef" +$ d_j0 = "undef" +$ d_lgamma = "undef" +$ d_log1p = "undef" +$ d_log2 = "undef" +$ d_logb = "undef" +$ d_lrint = "undef" +$ d_lrintl = "undef" +$ d_lround = "undef" +$ d_lroundl = "undef" +$ d_nearbyint = "undef" +$ d_nextafter = "undef" +$ d_nexttoward = "undef" +$ d_remainder = "undef" +$ d_remquo = "undef" +$ d_rint = "undef" +$ d_tgamma = "undef" +$ d_trunc = "undef" +$ d_truncl = "undef" $ ENDIF $! $! Now some that we build up @@ -3586,6 +3660,7 @@ $ GOSUB link_ok $ IF link_status .NE. good_link $ THEN $ longdblsize="0" +$ longdblkind="0" $ d_longdbl="undef" $ echo "You do not have long double." $ ELSE @@ -3593,6 +3668,7 @@ $ echo "You have long double." $ echo4 "Checking to see how big your long doubles are..." $ GOSUB just_mcr_it $ longdblsize = tmp +$ longdblkind = "1" $ d_longdbl = "define" $ echo "Your long doubles are ''longdblsize' bytes long." $ ENDIF @@ -5881,10 +5957,13 @@ $ WC "d_SCNfldbl='" + d_SCNfldbl + "'" $ WC "d__fwalk='undef'" $ WC "d_access='" + d_access + "'" $ WC "d_accessx='undef'" +$ WC "d_acosh='" + d_acosh + "'" $ WC "d_aintl='undef'" $ WC "d_alarm='define'" $ WC "d_archlib='define'" $ WC "d_asctime64='undef'" +$ WC "d_asinh='" + d_asinh + "'" +$ WC "d_atanh='" + d_atanh + "'" $ WC "d_atolf='" + d_atolf + "'" $ WC "d_atoll='" + d_atoll + "'" $ WC "d_attribute_format='" + d_attribut + "'" @@ -5909,6 +5988,7 @@ $ WC "d_builtin_expect='undef'" ! GCC only $ WC "d_bzero='" + d_bzero + "'" $ WC "d_casti32='define'" $ WC "d_castneg='define'" +$ WC "d_cbrt='" + d_cbrt + "'" $ WC "d_charvspr='undef'" $ WC "d_chown='define'" $ WC "d_chroot='undef'" @@ -5917,6 +5997,7 @@ $ WC "d_class='undef'" $ WC "d_closedir='define'" $ WC "d_cmsghdr_s='undef'" $ WC "d_const='define'" +$ WC "d_copysign='" + d_copysign + "'" $ WC "d_copysignl='define'" $ WC "d_cplusplus='" + d_cplusplus + "'" $ WC "d_crypt='define'" @@ -5954,7 +6035,11 @@ $ WC "d_endpent='" + d_endpent + "'" $ WC "d_endpwent='define'" $ WC "d_endsent='" + d_endsent + "'" $ WC "d_eofnblk='undef'" +$ WC "d_erf='" + d_erf + "'" +$ WC "d_erfc='" + d_erfc + "'" $ WC "d_eunice='undef'" +$ WC "d_exp2='" + d_exp2 + "'" +$ WC "d_expm1='" + d_expm1 + "'" $ WC "d_fchmod='undef'" $ WC "d_fchdir='undef'" $ WC "d_fchown='undef'" @@ -5962,19 +6047,34 @@ $ WC "d_fcntl='" + d_fcntl + "'" $ WC "d_fcntl_can_lock='" + d_fcntl_can_lock + "'" $ WC "d_fd_set='" + d_fd_set + "'" $ WC "d_fd_macros='define'" +$ WC "d_fdim='" + d_fdim + "'" $ WC "d_fds_bits='define'" +$ WC "d_fegetround='undef'" $ WC "d_fgetpos='define'" -$ WC "d_finite='undef'" -$ WC "d_finitel='undef'" +$ IF F$ELEMENT(0, "-", archname) .NES. "VMS_VAX" .AND. use_ieee_math +$ THEN +$ WC "d_finite='define'" +$ WC "d_finitel='define'" +$ ELSE +$ WC "d_finite='undef'" +$ WC "d_finitel='undef'" +$ ENDIF $ WC "d_flexfnam='define'" $ WC "d_flock='undef'" $ WC "d_flockproto='undef'" +$ WC "d_fma='" + d_fma + "'" +$ WC "d_fmax='" + d_fmax + "'" +$ WC "d_fmin='" + d_fmin + "'" $ WC "d_fork='undef'" $ WC "d_fp_class='undef'" +$ WC "d_fp_classify='" + d_fp_classify + "'" +$ WC "d_fp_classify='undef'" +$ WC "d_fp_classl='undef'" $ WC "d_fpathconf='" + d_fpathconf + "'" $ WC "d_fpclass='undef'" $ WC "d_fpclassify='undef'" $ WC "d_fpclassl='undef'" +$ WC "d_fpgetround='undef'" $ WC "d_fpos64_t='" + d_fpos64_t + "'" $ WC "d_frexpl='" + d_frexpl + "'" $ WC "d_fs_data_s='undef'" @@ -5982,7 +6082,7 @@ $ WC "d_fseeko='" + d_fseeko + "'" $ WC "d_fsetpos='define'" $ WC "d_fstatfs='undef'" $ WC "d_fstatvfs='" + d_fstatvfs + "'" -$ WC "d_fsync='undef'" +$ WC "d_fsync='define'" $ WC "d_ftello='" + d_ftello + "'" $ WC "d_ftime='define'" $ WC "d_futimes='undef'" @@ -6041,6 +6141,8 @@ $ WC "d_gnulibc='undef'" $ WC "d_grpasswd='undef'" $ WC "d_hasmntopt='undef'" $ WC "d_htonl='" + d_htonl + "'" +$ WC "d_hypot='" + d_hypot + "'" +$ WC "d_ilogb='" + d_ilogb + "'" $ WC "d_ilogbl='undef'" $ WC "d_inc_version_list='undef'" $ WC "d_index='" + d_index + "'" @@ -6055,20 +6157,40 @@ $ WC "d_ipv6_mreq_source='undef'" $ WC "d_isascii='define'" $ WC "d_isblank='undef'" $ WC "d_isfinite='undef'" +$ WC "d_isfinitel='undef'" $ WC "d_isinf='undef'" +$ WC "d_isinfl='undef'" +$ WC "d_isless='undef'" $ WC "d_isnan='" + d_isnan + "'" $ WC "d_isnanl='" + d_isnanl + "'" +$ WC "d_isnormal='" + d_isnormal + "'" +$ WC "d_j0='" + d_j0 + "'" +$ WC "d_j0l='undef'" $ WC "d_killpg='undef'" $ WC "d_lchown='" + d_lchown + "'" $ WC "d_ldbl_dig='define'" +$ WC "d_ldexpl='" + d_ldexpl + "'" +$ WC "d_lgamma='" + d_lgamma + "'" $ WC "d_libm_lib_version='undef'" $ WC "d_link='" + d_link + "'" +$ WC "d_llrint='undef'" +$ WC "d_llrintl='undef'" +$ WC "d_llround='undef'" +$ WC "d_llroundl='undef'" $ WC "d_llseek='undef'" $ WC "d_localtime64='undef'" $ WC "d_locconv='" + d_locconv + "'" +$ WC "d_lc_monetary_2008='undef'" $ WC "d_lockf='undef'" +$ WC "d_log1p='" + d_log1p + "'" +$ WC "d_log2='" + d_log2 + "'" +$ WC "d_logb='" + d_logb + "'" $ WC "d_longdbl='" + d_longdbl + "'" $ WC "d_longlong='" + d_longlong + "'" +$ WC "d_lrint='" + d_lrint + "'" +$ WC "d_lrintl='" + d_lrintl + "'" +$ WC "d_lround='" + d_lround + "'" +$ WC "d_lroundl='" + d_lroundl + "'" $ WC "d_lseekproto='define'" $ WC "d_lstat='" + d_lstat + "'" $ WC "d_madvise='undef'" @@ -6109,9 +6231,13 @@ $ WC "d_msghdr_s='undef'" $ WC "d_msync='" + d_msync + "'" $ WC "d_munmap='" + d_munmap + "'" $ WC "d_mymalloc='" + d_mymalloc + "'" +$ WC "d_nan='undef'" $ WC "d_nanosleep='" + d_nanosleep + "'" $ WC "d_ndbm='undef'" $ WC "d_ndbm_h_uses_prototypes='undef'" +$ WC "d_nearbyint='undef'" +$ WC "d_nextafter='" + d_nextafter + "'" +$ WC "d_nexttoward='" + d_nexttoward + "'" $ WC "d_nice='define'" $ WC "d_nl_langinfo='" + d_nl_langinfo + "'" $ WC "d_nv_preserves_uv='" + d_nv_preserves_uv + "'" @@ -6137,6 +6263,7 @@ $ WC "d_pthread_atfork='undef'" $ WC "d_pthread_attr_setscope='" + d_pthread_attr_setscope + "'" $ WC "d_pthread_yield='" + d_pthread_yield + "'" $ WC "d_pthreads_created_joinable='" + d_pthreads_created_joinable + "'" +$ WC "d_ptrdiff_t='define'" $ WC "d_pwage='undef'" $ WC "d_pwchange='undef'" $ WC "d_pwclass='undef'" @@ -6152,13 +6279,19 @@ $ WC "d_readlink='" + d_readlink + "'" $ WC "d_readv='undef'" $ WC "d_realpath='" + d_realpath + "'" $ WC "d_recvmsg='undef'" +$ WC "d_regcomp='undef'" +$ WC "d_remainder='" + d_remainder + "'" +$ WC "d_remquo='" + d_remquo + "'" $ WC "d_rename='define'" $ WC "d_rewinddir='define'" +$ WC "d_rint='" + d_rint + "'" $ WC "d_rmdir='define'" +$ WC "d_round='undef'" $ WC "d_safebcpy='undef'" $ WC "d_safemcpy='define'" $ WC "d_sanemcmp='define'" $ WC "d_sbrkproto='define'" +$ WC "d_scalbn='undef'" $ WC "d_scalbnl='undef'" $ WC "d_sched_yield='" + d_sched_yield + "'" $ WC "d_scm_rights='undef'" @@ -6233,6 +6366,7 @@ $ WC "d_sresgproto='undef'" $ WC "d_sresgproto='undef'" $ WC "d_sresproto='undef'" $ WC "d_sresuproto='undef'" +$ WC "d_stat='define'" $ WC "d_statblks='undef'" $ WC "d_statfs_f_flags='undef'" $ WC "d_statfs_s='undef'" @@ -6276,6 +6410,7 @@ $ WC "d_tcgetpgrp='undef'" $ WC "d_tcsetpgrp='undef'" $ WC "d_telldir='define'" $ WC "d_telldirproto='define'" +$ WC "d_tgamma='" + d_tgamma + "'" $ WC "d_time='define'" $ WC "d_timegm='undef'" $ WC "d_times='define'" @@ -6288,6 +6423,8 @@ $ WC "d_tm_tm_gmtoff='undef'" $ WC "d_tm_tm_zone='undef'" $ ENDIF $ WC "d_truncate='" + d_truncate + "'" +$ WC "d_trunc='" + d_trunc + "'" +$ WC "d_truncl='" + d_truncl + "'" $ WC "d_tzname='" + d_tzname + "'" $ WC "d_u32align='define'" $ WC "d_ualarm='" + d_ualarm + "'" @@ -6334,6 +6471,7 @@ $ WC "direntrytype='struct dirent'" $ WC "dlext='" + dlext + "'" $ WC "dlobj='" + dlobj + "'" $ WC "dlsrc='dl_vms.xs'" +$ WC "doublekind='3'" $ WC "doublesize='" + doublesize + "'" $ WC "drand01='" + drand01 + "'" $ WC "dtrace='" + "'" @@ -6388,6 +6526,7 @@ $ WC "i_dirent='undef'" ! we roll our own $ WC "i_dlfcn='undef'" $ WC "i_execinfo='undef'" $ WC "i_fcntl='" + i_fcntl + "'" +$ WC "i_fenv='undef'" $ WC "i_float='define'" $ WC "i_fp='undef'" $ WC "i_fp_class='undef'" @@ -6417,6 +6556,7 @@ $ WC "i_poll='" + i_poll + "'" $ WC "i_prot='undef'" $ WC "i_pthread='define'" $ WC "i_pwd='undef'" +$ WC "i_quadmath='undef'" $ WC "i_rpcsvcdbm='undef'" $ WC "i_sgtty='undef'" $ WC "i_shadow='" + i_shadow + "'" @@ -6429,6 +6569,7 @@ $ ELSE $ WC "i_stdbool='undef'" $ ENDIF $ WC "i_stddef='define'" +$ WC "i_stdint='undef'" $ WC "i_stdlib='define'" $ WC "i_string='define'" $ WC "i_sunmath='undef'" @@ -6506,6 +6647,7 @@ $ WC "libs='" + libs + "'" $ WC "libswanted='" + "'" $ WC "libswanted_uselargefiles='" + "'" $ WC "longdblsize='" + longdblsize + "'" +$ WC "longdblkind='" + longdblkind + "'" $ WC "longlongsize='" + longlongsize + "'" $ WC "longsize='" + longsize + "'" $ IF uselargefiles .OR. uselargefiles .EQS. "define" @@ -6677,6 +6819,7 @@ $ WC "use64bitint='" + use64bitint + "'" $ WC "usecasesensitive='" + be_case_sensitive + "'" ! VMS-specific $ WC "usedebugging_perl='"+use_debugging_perl+"'" $ WC "usedefaulttypes='" + usedefaulttypes + "'" ! VMS-specific +$ WC "usecbacktrace='undef'" $ WC "usecrosscompile='undef'" $ WC "usedevel='" + usedevel + "'" $ WC "usedl='" + usedl + "'" @@ -6694,6 +6837,7 @@ $ WC "usemultiplicity='" + usemultiplicity + "'" $ WC "usemymalloc='" + usemymalloc + "'" $ WC "useperlio='define'" $ WC "useposix='false'" +$ WC "usequadmath='undef'" $ WC "usereentrant='undef'" $ WC "userelocatableinc='undef'" $ WC "usesecurelog='" + usesecurelog + "'" ! VMS-specific @@ -6775,6 +6919,7 @@ $ WC "d_getservbyport_r='undef'" $ WC "d_getservent_r='undef'" $ WC "d_getspnam_r='undef'" $ WC "d_gmtime_r='undef'" ! leave undef'd; we use my_gmtime +$ WC "d_lgamma_r='undef'" $ WC "d_localtime_r='undef'" ! leave undef'd; we use my_localtime $ WC "d_localtime_r_needs_tzset='undef'" $ WC "d_random_r='undef'" @@ -7263,7 +7408,7 @@ $ WRITE CONFIG "$ c2ph == """ + perl_setup_perl + " ''vms_prefix':[utils]c $ WRITE CONFIG "$ corelist == """ + perl_setup_perl + " ''vms_prefix':[utils]corelist.com""" $ WRITE CONFIG "$ cpan == """ + perl_setup_perl + " ''vms_prefix':[utils]cpan.com""" $ WRITE CONFIG "$ enc2xs == """ + perl_setup_perl + " ''vms_prefix':[utils]enc2xs.com""" -$ WRITE CONFIG "$ find2perl == """ + perl_setup_perl + " ''vms_prefix':[utils]find2perl.com""" +$ WRITE CONFIG "$ encguess == """ + perl_setup_perl + " ''vms_prefix':[utils]encguess.com""" $ WRITE CONFIG "$ h2ph == """ + perl_setup_perl + " ''vms_prefix':[utils]h2ph.com""" $ WRITE CONFIG "$ h2xs == """ + perl_setup_perl + " ''vms_prefix':[utils]h2xs.com""" $ WRITE CONFIG "$ instmodsh == """ + perl_setup_perl + " ''vms_prefix':[utils]instmodsh.com""" @@ -7282,7 +7427,6 @@ $ WRITE CONFIG "$ podselect == """ + perl_setup_perl + " ''vms_prefix':[utils]p $ WRITE CONFIG "$ prove == """ + perl_setup_perl + " ''vms_prefix':[utils]prove.com""" $ WRITE CONFIG "$ psed == """ + perl_setup_perl + " ''vms_prefix':[utils]psed.com""" $ WRITE CONFIG "$ pstruct == """ + perl_setup_perl + " ''vms_prefix':[utils]pstruct.com""" -$ WRITE CONFIG "$ s2p == """ + perl_setup_perl + " ''vms_prefix':[utils]s2p.com""" $ WRITE CONFIG "$ ptar == """ + perl_setup_perl + " ''vms_prefix':[utils]ptar.com""" $ WRITE CONFIG "$ ptardiff == """ + perl_setup_perl + " ''vms_prefix':[utils]ptardiff.com""" $ WRITE CONFIG "$ ptargrep == """ + perl_setup_perl + " ''vms_prefix':[utils]ptargrep.com"""