https://github.com/jsm174/tvheadend/blob/master/support/configure.inc#L17-28