From 3590eb79a8144258ece9289de45e69f27ac44c55 Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Thu, 11 Sep 2008 18:44:56 +0000 Subject: [PATCH] Change libselinux detection to not link libglib against it. svn path=/branches/glib-2-16/; revision=7459 --- ChangeLog | 3 ++- configure.in | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index 7b26beb88..8b3bc1af2 100644 --- a/ChangeLog +++ b/ChangeLog @@ -3,7 +3,8 @@ Merge from trunk * 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 diff --git a/configure.in b/configure.in index 7f89aa723..1ba69844b 100644 --- a/configure.in +++ b/configure.in @@ -1505,7 +1505,7 @@ if test "x$enable_selinux" != "xno"; then AC_CHECK_LIB(selinux, is_selinux_enabled, [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]) SELINUX_LIBS="-lselinux" msg_selinux=yes])