Skip to content

Commit

Permalink
- (dtucker) [configure.ac] Set put -lselinux into $LIBS while testin…
Browse files Browse the repository at this point in the history
…g for

   SELinux functions so they're detected correctly.  Patch from pebenito at
   gentoo.org.
  • Loading branch information
dtucker committed Oct 6, 2006
1 parent a41693d commit 7593f93
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 3 deletions.
7 changes: 6 additions & 1 deletion ChangeLog
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
20061006
- (dtucker) [configure.ac] Set put -lselinux into $LIBS while testing for
SELinux functions so they're detected correctly. Patch from pebenito at
gentoo.org.

20061001
- (dtucker) [audit-bsm.c] Include errno.h. Pointed out by des at des.no.

Expand Down Expand Up @@ -5500,4 +5505,4 @@
- (djm) Trim deprecated options from INSTALL. Mention UsePAM
- (djm) Fix quote handling in sftp; Patch from admorten AT umich.edu

$Id: ChangeLog,v 1.4558.2.6 2006/09/30 22:10:20 dtucker Exp $
$Id: ChangeLog,v 1.4558.2.7 2006/10/06 23:09:26 dtucker Exp $
7 changes: 5 additions & 2 deletions configure.ac
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# $Id: configure.ac,v 1.367.2.1 2006/09/29 10:16:31 dtucker Exp $
# $Id: configure.ac,v 1.367.2.2 2006/10/06 23:09:27 dtucker Exp $
#
# Copyright (c) 1999-2004 Damien Miller
#
Expand All @@ -15,7 +15,7 @@
# OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.

AC_INIT(OpenSSH, Portable, openssh-unix-dev@mindrot.org)
AC_REVISION($Revision: 1.367.2.1 $)
AC_REVISION($Revision: 1.367.2.2 $)
AC_CONFIG_SRCDIR([ssh.c])

AC_CONFIG_HEADER(config.h)
Expand Down Expand Up @@ -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)
Expand Down

0 comments on commit 7593f93

Please sign in to comment.