Alien::SDL can be used to detect and get configuration settings from an installed SDL and related libraries. WWW: https://metacpan.org/release/Alien-SDL