re-mark 1.29b-2 as not yet uploaded (merge madness!)
[debian/tar] / m4 / selinux-context-h.m4
1 # serial 3   -*- Autoconf -*-
2 # Copyright (C) 2006-2007, 2009-2015 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_REQUIRE([gl_LIBSELINUX])
13   if test "$with_selinux" != no; then
14     AC_CHECK_HEADERS([selinux/context.h],
15                      [SELINUX_CONTEXT_H=],
16                      [SELINUX_CONTEXT_H=selinux/context.h])
17   else
18     SELINUX_CONTEXT_H=selinux/context.h
19   fi
20   AC_SUBST([SELINUX_CONTEXT_H])
21   AM_CONDITIONAL([GL_GENERATE_SELINUX_CONTEXT_H], [test -n "$SELINUX_CONTEXT_H"])
22 ])