audio: fix compilation when libnice has needed patches
commitdb1e495b804c9113fbb53760e77daa01c0eca387
authorJakub Adam <jakub.adam@ktknet.cz>
Sun, 2 May 2010 18:32:51 +0000 (2 20:32 +0200)
committerJakub Adam <jakub.adam@ktknet.cz>
Sun, 2 May 2010 18:32:51 +0000 (2 20:32 +0200)
tree08bbd494cfcc441c9ec890ee658b4c2fec58d567
parent6982c07c55b762795c1debe096c9611b2a8d16f9
audio: fix compilation when libnice has needed patches

NICE_COMPATIBILITY_OC2007R2 is an enumeration value, not a macro, so conditional compilation was always disabled.

Let configure script check if libnice was patched.
configure.ac
src/purple/purple-media.c