Newer versions don't define a symbol directly confusing cmake, fixed by
letting the compiler test whether it really doesn't exist. The issue was
spotted by Espreon.
Applied the patch attached to bug #17152. (I don't have the old version
of FriBidi, so haven't tested been able to test it, but still works with
newer versions of FriBidi.)
* Updated to support both fribidi2 (>= 0.19.0) and old fribidi (>= 0.10.9)
* The cmake part was done by Mark with some fixes add by me.
* I tested on Fedora-11, Mark tested on Debian stable.