+2008-10-23 David Lutterkort <lutter@redhat.com>
+
+ * modules/selinux-h: Search for LIB_SELINUX and mark it as a
+ link requirement
+
2008-10-23 Jim Meyering <meyering@redhat.com>
selinux-h: mark parameters of stub functions as intentionally unused
[SELINUX_SELINUX_H=],
[SELINUX_SELINUX_H=selinux/selinux.h])
AC_SUBST([SELINUX_SELINUX_H])
+
+ LIB_SELINUX=
+ gl_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=$gl_save_LIBS
])
#include <selinux/selinux.h>
#include <selinux/context.h>
+Link:
+$(LIB_SELINUX)
+
License:
LGPLv2+