*printf* tests: Remove unused includes.
[gnulib.git] / m4 / selinux-context-h.m4
blobec898c4051dfe7433517b952e639926850dd4ed0
1 # selinux-context-h.m4
2 # serial 4   -*- Autoconf -*-
3 dnl Copyright (C) 2006-2007, 2009-2024 Free Software Foundation, Inc.
4 dnl This file is free software; the Free Software Foundation
5 dnl gives unlimited permission to copy and/or distribute it,
6 dnl with or without modifications, as long as this notice is preserved.
8 # From Jim Meyering
9 # Provide <selinux/context.h>, if necessary.
11 AC_DEFUN([gl_HEADERS_SELINUX_CONTEXT_H],
13   AC_REQUIRE([gl_LIBSELINUX])
14   if test "$with_selinux" != no; then
15     AC_CHECK_HEADERS([selinux/context.h],
16                      [GL_GENERATE_SELINUX_CONTEXT_H=false],
17                      [GL_GENERATE_SELINUX_CONTEXT_H=true])
18   else
19     GL_GENERATE_SELINUX_CONTEXT_H=true
20   fi