1# Copyright 2020-2021 Free Software Foundation, Inc. 2# This file is free software; the Free Software Foundation 3# gives unlimited permission to copy and/or distribute it, 4# with or without modifications, as long as this notice is preserved. 5 6# From Paul Eggert 7# Provide <selinux/label.h>, if necessary. 8 9AC_DEFUN([gl_HEADERS_SELINUX_LABEL_H], 10[ 11 AC_REQUIRE([gl_LIBSELINUX]) 12 SELINUX_LABEL_H=selinux/label.h 13 if test "$with_selinux" != no; then 14 AC_CHECK_HEADERS([selinux/label.h], 15 [SELINUX_LABEL_H=]) 16 fi 17 AC_SUBST([SELINUX_LABEL_H]) 18 AM_CONDITIONAL([GL_GENERATE_SELINUX_LABEL_H], [test -n "$SELINUX_LABEL_H"]) 19]) 20