mirror of
git://git.sv.gnu.org/coreutils.git
synced 2026-02-10 09:21:58 +02:00
* gl/modules/selinux-at: New module. Check for libselinux and set LIB_SELINUX here, unconditionally, rather than depending on the configure-time --enable-selinux option. * gl/modules/selinux-h: New module. * bootstrap.conf (gnulib_modules): Add selinux-at. * gl/lib/selinux-at.c, gl/lib/selinux-at.h: New files. * gl/lib/se-selinux_.h: New file. * gl/lib/se-context_.h: New file. * gl/m4/selinux-selinux-h.m4: New file. * gl/m4/selinux-context-h.m4: New file. * src/Makefile.am (bin_PROGRAMS): Add chcon. (chcon_LDADD): Define. * README: Add chcon to the list of programs. * src/chcon.c: Rewrite the original (Red Hat) chcon to use fts.
19 lines
594 B
Plaintext
19 lines
594 B
Plaintext
# serial 1 -*- Autoconf -*-
|
|
# Copyright (C) 2006 Free Software Foundation, Inc.
|
|
# This file is free software; the Free Software Foundation
|
|
# gives unlimited permission to copy and/or distribute it,
|
|
# with or without modifications, as long as this notice is preserved.
|
|
|
|
# From Jim Meyering
|
|
# Provide <selinux/selinux.h>, if necessary.
|
|
|
|
AC_DEFUN([gl_HEADERS_SELINUX_SELINUX_H],
|
|
[
|
|
AC_LIBSOURCES([se-selinux_.h])
|
|
# Check for <selinux/selinux.h>,
|
|
AC_CHECK_HEADERS([selinux/selinux.h],
|
|
[SELINUX_SELINUX_H=],
|
|
[SELINUX_SELINUX_H=selinux/selinux.h])
|
|
AC_SUBST([SELINUX_SELINUX_H])
|
|
])
|