Change libselinux detection to not link libglib

against it.


svn path=/branches/glib-2-16/; revision=7459
This commit is contained in:
Matthias Clasen
2008-09-11 18:44:56 +00:00
parent 6cbdc200a3
commit 3590eb79a8
2 changed files with 3 additions and 2 deletions

View File

@@ -4,6 +4,7 @@
* configure.in: Fix detection of struct statfs fields. * configure.in: Fix detection of struct statfs fields.
Accept lesser mmaps. Accept lesser mmaps.
Change libselinux detection to not link libglib against it.
2008-08-31 Emmanuele Bassi <ebassi@gnome.org> 2008-08-31 Emmanuele Bassi <ebassi@gnome.org>

View File

@@ -1505,7 +1505,7 @@ if test "x$enable_selinux" != "xno"; then
AC_CHECK_LIB(selinux, is_selinux_enabled, AC_CHECK_LIB(selinux, is_selinux_enabled,
[AC_CHECK_HEADERS(selinux/selinux.h, [AC_CHECK_HEADERS(selinux/selinux.h,
[AC_SEARCH_LIBS(lgetfilecon_raw, selinux, [AC_CHECK_LIB(selinux, lgetfilecon_raw,
[AC_DEFINE(HAVE_SELINUX, 1, [Define to 1 if libselinux is available]) [AC_DEFINE(HAVE_SELINUX, 1, [Define to 1 if libselinux is available])
SELINUX_LIBS="-lselinux" SELINUX_LIBS="-lselinux"
msg_selinux=yes]) msg_selinux=yes])