Ao compilar e rodar o script configure, esta gerando o seguinte erro:

checking how many arguments gethostbyname_r() takes... can't tell
configure: error: gethostbyname_r is required

e portanto não executa o comando make. O que será que estou fazendo de errado?

Versao MacOS 10.15.7, ApcCtrl 0.8.21

Obrigado.