if ( SDL::Config->has('smpeg') ) { ... } else { plan( skip_all => ( SDL::Config->has('smpeg') ? '' : ' smpeg support not compiled' ) );