summaryrefslogtreecommitdiff
path: root/configure.com
diff options
context:
space:
mode:
authorCraig A. Berry <craigberry@mac.com>2013-03-02 18:00:20 -0600
committerCraig A. Berry <craigberry@mac.com>2013-03-02 18:02:37 -0600
commita429ddf7a2c14de7caaf9248c6a79212167468f9 (patch)
tree491fd418c46d75c38d64db20f4c2951a98f0f79c /configure.com
parent09f253ec43d3a97e7882a96f636670c1944f29ad (diff)
downloadperl-a429ddf7a2c14de7caaf9248c6a79212167468f9.tar.gz
Enable sem* functions in configure.com for 8.4+.
They became available in VMS v8.4 in 2010.
Diffstat (limited to 'configure.com')
-rw-r--r--configure.com17
1 files changed, 14 insertions, 3 deletions
diff --git a/configure.com b/configure.com
index f4e869d16d..92045cd2c1 100644
--- a/configure.com
+++ b/configure.com
@@ -6206,9 +6206,20 @@ $ WC "d_sched_yield='" + d_sched_yield + "'"
$ WC "d_scm_rights='undef'"
$ WC "d_seekdir='define'"
$ WC "d_select='" + d_select + "'"
-$ WC "d_sem='undef'"
-$ WC "d_semctl_semid_ds='undef'"
-$ WC "d_semctl_semun='undef'"
+$ IF ("''F$EXTRACT(1,3, F$GETSYI(""VERSION""))'".GES."8.4")
+$ THEN
+$ WC "d_sem='define'"
+$ WC "d_semctl_semid_ds='define'"
+$ WC "d_semctl_semun='define'"
+$ WC "d_semget='define'"
+$ WC "d_semop='define'"
+$ ELSE
+$ WC "d_sem='undef'"
+$ WC "d_semctl_semid_ds='undef'"
+$ WC "d_semctl_semun='undef'"
+$ WC "d_semget='undef'"
+$ WC "d_semop='undef'"
+$ ENDIF
$ WC "d_sendmsg='undef'"
$ WC "d_setegid='undef'"
$ WC "d_setenv='" + d_setenv + "'"