This is current git on macOS 12.3.1.
Running ./configure --disable-ogg123 ends with the following message:
configure: WARNING: Prerequisites for ogg123 not met, ogg123 will be skipped.
Please ensure that you have POSIX threads, libao, and (optionally) libcurl
libraries and headers present if you would like to build ogg123.
This is current git on macOS 12.3.1. Running
./configure --disable-ogg123
ends with the following message:I believe that is a bug in configure.