I have a cmake C project that needs to be compiled against libc.
I want to use a function (getgrouplist) that contains a bug in glibc versions prior to 2.3.3.
I want to disallow compilation on machines that have glibc 2.3.3 or older, but I don't want to link to a specific version.
Is there a way to do this?