summaryrefslogtreecommitdiff
path: root/gl
diff options
context:
space:
mode:
authorJim Meyering <meyering@redhat.com>2008-10-22 12:44:17 +0200
committerJim Meyering <meyering@redhat.com>2008-10-22 12:44:17 +0200
commit5afac2aee1313126ece1eb958d5e0fba6837e93b (patch)
tree8ee842028c089d037e639efc0a4f1ee0e6f48555 /gl
parentaa67daf63b8a0fe1a99fd79e50c1d5068fb430b8 (diff)
downloadcoreutils-5afac2aee1313126ece1eb958d5e0fba6837e93b.tar.xz
clean up gl/modules/selinux-at
* gl/modules/selinux-at: Ensure that LIB_SELINUX is cleared, in case it's set in the environment. m4-quote the first two args to AC_SEARCH_LIBS. Don't violate autoconf's ac_ namespace: s/ac_save/gl_save/ Drop the useless double quotes around a simple assignment RHS.
Diffstat (limited to 'gl')
-rw-r--r--gl/modules/selinux-at7
1 files changed, 4 insertions, 3 deletions
diff --git a/gl/modules/selinux-at b/gl/modules/selinux-at
index 759908397..d1675fe63 100644
--- a/gl/modules/selinux-at
+++ b/gl/modules/selinux-at
@@ -13,12 +13,13 @@ configure.ac:
# For runcon.
AC_CHECK_HEADERS([selinux/flask.h])
AC_LIBOBJ([selinux-at])
-ac_save_LIBS="$LIBS"
- AC_SEARCH_LIBS(setfilecon, selinux,
+gl_save_LIBS=$LIBS
+ LIB_SELINUX=
+ AC_SEARCH_LIBS([setfilecon], [selinux],
[test "$ac_cv_search_setfilecon" = "none required" ||
LIB_SELINUX=$ac_cv_search_setfilecon])
AC_SUBST(LIB_SELINUX)
-LIBS="$ac_save_LIBS"
+LIBS=$gl_save_LIBS
Makefile.am: