configure: improve pkg-config support
authorMans Rullgard <mans@mansr.com>
Sun, 6 Mar 2011 13:48:30 +0000 (13:48 +0000)
committerMans Rullgard <mans@mansr.com>
Fri, 11 Mar 2011 20:13:26 +0000 (20:13 +0000)
commit3f8040db3e13c3dbdf07c74d92ca34817a69f733
treeefe4891bc18e32081afc70e103834b00ea013d0d
parentedaf1ae2763ce1a23dec70e730ba2bb8ee476dfd
configure: improve pkg-config support

This adds helper functions for checking packages with pkg-config
and managing the associated flags.

Note that pkg-config use is still discouraged due to widespread
poor practices resulting in broken flags in many situations.  A
few badly designed packages require flags only obtainable using
pkg-config, and these functions are intended for those cases.

Signed-off-by: Mans Rullgard <mans@mansr.com>
configure