From c487cd5b4fe54292e1e430f04bede74846e1250f Mon Sep 17 00:00:00 2001 From: "Craig A. Berry" Date: Tue, 13 Aug 2013 19:27:01 -0500 Subject: [PATCH] Fix miscellaneous missing d_xxx variables in configure.com. There are still 200+ variables in Porting/Glossary that are not written by configure.com, but these jumped out as the initial set that might be of actual use. --- configure.com | 21 +++++++++++++++++---- 1 file changed, 17 insertions(+), 4 deletions(-) diff --git a/configure.com b/configure.com index 1233548..0a0eb27 100644 --- a/configure.com +++ b/configure.com @@ -5265,13 +5265,13 @@ $! VMS V8 powered options $! We know that it is only available for 8.2 and later on 64 bit platforms. $! $ d_fstatvfs = "undef" -$! d_statvfs = "undef" +$ d_statvfs = "undef" $ i_sysstatvfs = "undef" $ if (vms_ver .GES. "8.2") .AND. (F$ELEMENT(0, "-", archname) .NES. "VMS_VAX") $ then $ echo "Found 64 bit OpenVMS ''vms_ver' -- will build with 8.2 routines" $ d_fstatvfs = "define" -$! d_statvfs = "define" +$ d_statvfs = "define" $ i_sysstatvfs = "define" $ endif $! @@ -5988,7 +5988,7 @@ $ WC "d_printf_format_null='undef'" $ WC "d_bcmp='" + d_bcmp + "'" $ WC "d_bcopy='" + d_bcopy + "'" $ WC "d_bincompat3='undef'" -$! WC "d_bsdpgrp='undef'" +$ WC "d_bsd='undef'" $ WC "d_bsdgetpgrp='undef'" $ WC "d_bsdsetpgrp='undef'" $ WC "d_builtin_choose_expr='undef'" ! GCC only @@ -6001,6 +6001,7 @@ $ WC "d_chown='define'" $ WC "d_chroot='undef'" $ WC "d_chsize='undef'" $ WC "d_class='undef'" +$ WC "d_closedir='define'" $ WC "d_cmsghdr_s='undef'" $ WC "d_const='define'" $ WC "d_copysignl='define'" @@ -6018,7 +6019,14 @@ $ WC "d_difftime64='undef'" $ WC "d_dir_dd_fd='undef'" $ WC "d_dirfd='undef'" $ WC "d_dirnamlen='define'" -$ WC "d_dlerror='undef'" +$ IF ("''F$EXTRACT(1,3, F$GETSYI(""VERSION""))'".GES."7.2") +$ THEN +$ WC "d_dlerror='define'" +$ WC "d_dlopen='define'" +$ ELSE +$ WC "d_dlerror='undef'" +$ WC "d_dlopen='undef'" +$ ENDIF $ WC "d_dlsymun='undef'" $ WC "d_dosuid='undef'" $ WC "d_drand48proto='" + d_drand48proto + "'" @@ -6160,6 +6168,10 @@ $ WC "d_modflproto='" + d_modflproto + "'" $ WC "d_modfl_pow32_bug='undef'" $ WC "d_mprotect='" + d_mprotect + "'" $ WC "d_msg='undef'" +$ WC "d_msgctl='undef'" +$ WC "d_msgget='undef'" +$ WC "d_msgrcv='undef'" +$ WC "d_msgsnd='undef'" $ WC "d_msg_ctrunc='undef'" $ WC "d_msg_dontroute='undef'" $ WC "d_msg_oob='undef'" @@ -6304,6 +6316,7 @@ $ WC "d_stdio_stream_array='undef'" $ WC "d_stdiobase='" + d_stdiobase + "'" $ WC "d_stdstdio='" + d_stdstdio + "'" $ WC "d_faststdio='" + d_faststdio + "'" +$ WC "d_statvfs='" + d_statvfs + "'" $ WC "d_strchr='define'" $ WC "d_strcoll='" + d_strcoll + "'" $ WC "d_strctcpy='define'" -- 1.8.3.1