Hello,
as solution to rhbz #479502 I propose the enclosed patch. The optimization
based on matchpathcon_init_prefix () function is now turned off by broken
configure script - it does not see the function because of lack of -lselinux.
Moreover the patch emits configure warning while the function is not found and
SELinux enabled. The performance impact is huge.
Kamil