From 0647f3eb5aeaa783ce21ddee268367d2ba7248df Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Mon, 2 Jun 2008 21:17:57 +0200 Subject: 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 . --- m4/jm-macros.m4 | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'm4') diff --git a/m4/jm-macros.m4 b/m4/jm-macros.m4 index 5a92d4a9e..cf1f2f003 100644 --- a/m4/jm-macros.m4 +++ b/m4/jm-macros.m4 @@ -2,7 +2,7 @@ dnl Misc type-related macros for coreutils. -# Copyright (C) 1998, 2000-2007 Free Software Foundation, Inc. +# Copyright (C) 1998, 2000-2008 Free Software Foundation, Inc. # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by @@ -46,6 +46,9 @@ AC_DEFUN([coreutils_MACROS], # used by shred AC_CHECK_FUNCS_ONCE(directio) + # Used by install.c. + AC_CHECK_FUNCS_ONCE([matchpathcon_init_prefix]) + AC_CHECK_FUNCS_ONCE( \ endgrent \ endpwent \ -- cgit v1.2.3-54-g00ecf