[PATCH app-xdm 1/9] config: isolating -lselinux to a single target is not required

Gaetan Nadon memsize at videotron.ca
Mon Nov 22 07:32:11 PST 2010


Due to previous patches, -lselinux, if installed on the configured system,
is included in $LIBS already.

Signed-off-by: Gaetan Nadon <memsize at videotron.ca>
---
 configure.ac |    6 ------
 1 files changed, 0 insertions(+), 6 deletions(-)

diff --git a/configure.ac b/configure.ac
index 80b936c..e2e15f6 100644
--- a/configure.ac
+++ b/configure.ac
@@ -137,16 +137,12 @@ use_selinux_default=no
 AC_ARG_WITH(selinux, AC_HELP_STRING([--with-selinux],[Add support for selinux]),
 	[USE_SELINUX=$withval], [USE_SELINUX=$use_selinux_default])
 if test "x$USE_SELINUX" != "xno" ; then
-	old_LIBS="$LIBS"
-	LIBS=""
 	AC_SEARCH_LIBS(is_selinux_enabled,[selinux])
 	AC_CHECK_FUNC(is_selinux_enabled,
 		[AC_DEFINE(HAVE_SELINUX,1,[Add support for selinux])],
 		[if test "x$USE_SELINUX" != "xtry" ; then
 			AC_MSG_ERROR(["selinux support requested, but is_selinux_enabled not found."])
 		 fi])
-	XDM_OS_LIBS="$XDM_OS_LIBS $LIBS"
-	LIBS="$old_LIBS"
 fi
 
 # FIXME: Find better test for which OS'es use su -m  - for now, just try to
@@ -306,8 +302,6 @@ AC_SUBST(SHELL_CMD)
 
 PKG_CHECK_MODULES(XDM, xmu x11 xau)
 
-XDM_LIBS="$XDM_LIBS $XDM_OS_LIBS"
-
 PKG_CHECK_EXISTS(xinerama, [
 	AC_DEFINE([USE_XINERAMA], 1, 
 		[Define to 1 to use XINERAMA in greeter & chooser])
-- 
1.6.0.4



More information about the xorg-devel mailing list