summaryrefslogtreecommitdiffstats
path: root/stream
diff options
context:
space:
mode:
authorUoti Urpala <uau@mplayer2.org>2012-02-27 15:51:35 +0200
committerUoti Urpala <uau@mplayer2.org>2012-02-27 15:51:35 +0200
commit8d20859716db53fb6a2aa4975c8172a9d6aa7a3d (patch)
tree97dda72cdb9dad45406287ff3c5db7c2ce66b4b9 /stream
parent9f9bbb3c8b0cce1d148f3f6046ec8deb636577ff (diff)
downloadmpv-8d20859716db53fb6a2aa4975c8172a9d6aa7a3d.tar.bz2
mpv-8d20859716db53fb6a2aa4975c8172a9d6aa7a3d.tar.xz
configure: simplify pkg-config handling, drop other tests
Add helper function pkg_config_add() that checks for the presence of a package and also adds cflags/ldflags if it is found. Change existing pkg-config-using feature tests to use that. Also change the freetype test that used a separate libfreetype-config binary before; using pkg-config instead helps cross-compiling. Drop other kinds of checks (such as test compiles) from these tests. It's possible that this could cause problems on some (broken) systems, but that can't be verified without user testing.
Diffstat (limited to 'stream')
0 files changed, 0 insertions, 0 deletions