add warnings to selinux-h module's configure macros
[gnulib.git] / m4 / selinux-context-h.m4
1 # serial 1   -*- Autoconf -*-
2 # Copyright (C) 2006, 2007 Free Software Foundation, Inc.
3 # This file is free software; the Free Software Foundation
4 # gives unlimited permission to copy and/or distribute it,
5 # with or without modifications, as long as this notice is preserved.
6
7 # From Jim Meyering
8 # Provide <selinux/context.h>, if necessary.
9
10 AC_DEFUN([gl_HEADERS_SELINUX_CONTEXT_H],
11 [
12   AC_CHECK_HEADERS([selinux/context.h],
13                    [SELINUX_CONTEXT_H=],
14                    [SELINUX_CONTEXT_H=selinux/context.h])
15   AC_SUBST([SELINUX_CONTEXT_H])
16 ])