[perl #127533] only test semctl() if we have everything needed to use it
authorTony Cook <tony@develop-help.com>
Tue, 1 Mar 2016 00:35:21 +0000 (11:35 +1100)
committerTony Cook <tony@develop-help.com>
Tue, 8 Mar 2016 22:26:12 +0000 (09:26 +1100)
commit9234e5bdb7cb62dbf09ea4fd4ae5f3831cf78890
treec6d25905c5c076090767ea230697cc1468c088ec
parent8af589bf3c25f70e6cc09c218872180f58e2704b
[perl #127533] only test semctl() if we have everything needed to use it

In a FreeBSD jail, the semctl() entry point might exist, but can be
disabled by policy, when it is disabled, the Configure code that
tests for the different structures that can be supplied to semctl()
fail.

The code that implements semctl() for perl treats semctl() as
unimplemented if neither structure is available, so avoid testing
semctl() if the structures couldn't be detected.
t/io/semctl.t