Alien::GSL can be used to detect and get configuration settings from an installed GSL library.