Description:
SELinux-related headers for systems that lack them.

Files:
lib/se-context_.h
lib/se-selinux_.h
m4/selinux-context-h.m4
m4/selinux-selinux-h.m4

Depends-on:

configure.ac:
gl_HEADERS_SELINUX_SELINUX_H
gl_HEADERS_SELINUX_CONTEXT_H

Makefile.am:
BUILT_SOURCES += $(SELINUX_SELINUX_H)
selinux/selinux.h: se-selinux_.h
	mkdir -p selinux
	cp $(srcdir)/se-selinux_.h $@-t
	chmod a-x $@-t
	mv $@-t $@
MOSTLYCLEANFILES += selinux/selinux.h selinux/selinux.h-t

BUILT_SOURCES += $(SELINUX_CONTEXT_H)
selinux/context.h: se-context_.h
	mkdir -p selinux
	cp $(srcdir)/se-context_.h $@-t
	chmod a-x $@-t
	mv $@-t $@
MOSTLYCLEANFILES += selinux/context.h selinux/context.h-t
MOSTLYCLEANDIRS += selinux

Include:
#include <selinux/selinux.h>
#include <selinux/context.h>

License:
LGPL

Maintainer:
Jim Meyering

# lib/selinux-at.c
#
#   # For runcon.
#   AC_CHECK_HEADERS([selinux/flask.h])
#
#   ac_save_LIBS="$LIBS"
#   AC_SEARCH_LIBS(setfilecon, selinux,
#                  [test "$ac_cv_search_setfilecon" = "none required" ||
#                   LIB_SELINUX=$ac_cv_search_setfilecon])
#   AC_SUBST(LIB_SELINUX)
#   LIBS="$ac_save_LIBS"
