pkg-config compatible replacement with no dependencies other than C99
