accommodate older SELinux which lacks matchpathcon_init_prefix
authorJim Meyering <meyering@redhat.com>
Mon, 2 Jun 2008 19:17:57 +0000 (21:17 +0200)
committerJim Meyering <meyering@redhat.com>
Mon, 2 Jun 2008 19:34:40 +0000 (21:34 +0200)
commit0647f3eb5aeaa783ce21ddee268367d2ba7248df
tree2bf46a5a1f19d69d2d4265256d7f8387ecbde60f
parent77b1bfc85cdf4ec01094ee31c8c85e2a83dea466
accommodate older SELinux which lacks matchpathcon_init_prefix

* m4/jm-macros.m4: Check for matchpathcon_init_prefix.
* src/install.c [!HAVE_MATCHPATHCON_INIT_PREFIX]
(matchpathcon_init_prefix): Define away.
* gl/lib/se-selinux.in.h (matchpathcon_init_prefix): Define.
Reported by Ilya N. Golubev in
<http://thread.gmane.org/gmane.comp.gnu.coreutils.bugs/13686>.
THANKS
gl/lib/se-selinux.in.h
m4/jm-macros.m4
src/install.c