]> andersk Git - openssh.git/commitdiff
- (dtucker) [configure.ac] Set put -lselinux into $LIBS while testing for
authordtucker <dtucker>
Fri, 6 Oct 2006 23:07:20 +0000 (23:07 +0000)
committerdtucker <dtucker>
Fri, 6 Oct 2006 23:07:20 +0000 (23:07 +0000)
   SELinux functions so they're detected correctly.  Patch from pebenito at
   gentoo.org.

ChangeLog
configure.ac

index a3e56e5cb905e9012f5957e68827d5a5d1c0946d..bf9e3a6f0ec63edb86f6ade76eddc670e88519d8 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,6 +1,9 @@
 20061006
  - (tim) [buildpkg.sh.in] Use uname -r instead of -v in OS_VER for Solaris.
    Differentiate between OpenServer 5 and OpenServer 6
+ - (dtucker) [configure.ac] Set put -lselinux into $LIBS while testing for
+   SELinux functions so they're detected correctly.  Patch from pebenito at
+   gentoo.org.
 
 20061003
  - (tim) [configure.ac] Move CHECK_HEADERS test before platform specific
index 21a030b89c36c1950ced2c432c6c47547490c2ca..e5fb98eb5a76ca391b16649bfc9972aa816c3393 100644 (file)
@@ -3145,7 +3145,10 @@ AC_ARG_WITH(selinux,
                    AC_MSG_ERROR(SELinux support requires selinux.h header))
                AC_CHECK_LIB(selinux, setexeccon, [ LIBSELINUX="-lselinux" ],
                    AC_MSG_ERROR(SELinux support requires libselinux library))
+               save_LIBS="$LIBS"
+               LIBS="$LIBS $LIBSELINUX"
                AC_CHECK_FUNCS(getseuserbyname get_default_context_with_level)
+               LIBS="$save_LIBS"
        fi ]
 )
 AC_SUBST(LIBSELINUX)
This page took 0.081817 seconds and 5 git commands to generate.