summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDarren Tucker <dtucker@zip.com.au>2006-10-07 09:07:20 +1000
committerDarren Tucker <dtucker@zip.com.au>2006-10-07 09:07:20 +1000
commitadc947d5a532880e7a2ffd1828789ada8fea6931 (patch)
treed13e2b2161fbf073180ce517b8393cddd6416684
parent09f1093a29e6dcbec76cfa1831d080ced2d4b627 (diff)
- (dtucker) [configure.ac] Set put -lselinux into $LIBS while testing for
SELinux functions so they're detected correctly. Patch from pebenito at gentoo.org.
-rw-r--r--ChangeLog5
-rw-r--r--configure.ac7
2 files changed, 9 insertions, 3 deletions
diff --git a/ChangeLog b/ChangeLog
index 15bf56263..08f48d61c 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,6 +1,9 @@
120061006 120061006
2 - (tim) [buildpkg.sh.in] Use uname -r instead of -v in OS_VER for Solaris. 2 - (tim) [buildpkg.sh.in] Use uname -r instead of -v in OS_VER for Solaris.
3 Differentiate between OpenServer 5 and OpenServer 6 3 Differentiate between OpenServer 5 and OpenServer 6
4 - (dtucker) [configure.ac] Set put -lselinux into $LIBS while testing for
5 SELinux functions so they're detected correctly. Patch from pebenito at
6 gentoo.org.
4 7
520061003 820061003
6 - (tim) [configure.ac] Move CHECK_HEADERS test before platform specific 9 - (tim) [configure.ac] Move CHECK_HEADERS test before platform specific
@@ -2519,4 +2522,4 @@
2519 OpenServer 6 and add osr5bigcrypt support so when someone migrates 2522 OpenServer 6 and add osr5bigcrypt support so when someone migrates
2520 passwords between UnixWare and OpenServer they will still work. OK dtucker@ 2523 passwords between UnixWare and OpenServer they will still work. OK dtucker@
2521 2524
2522$Id: ChangeLog,v 1.4567 2006/10/06 21:58:38 tim Exp $ 2525$Id: ChangeLog,v 1.4568 2006/10/06 23:07:20 dtucker Exp $
diff --git a/configure.ac b/configure.ac
index ecfa50c4b..c596a7bd9 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1,4 +1,4 @@
1# $Id: configure.ac,v 1.369 2006/10/03 16:34:35 tim Exp $ 1# $Id: configure.ac,v 1.370 2006/10/06 23:07:21 dtucker Exp $
2# 2#
3# Copyright (c) 1999-2004 Damien Miller 3# Copyright (c) 1999-2004 Damien Miller
4# 4#
@@ -15,7 +15,7 @@
15# OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. 15# OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
16 16
17AC_INIT(OpenSSH, Portable, openssh-unix-dev@mindrot.org) 17AC_INIT(OpenSSH, Portable, openssh-unix-dev@mindrot.org)
18AC_REVISION($Revision: 1.369 $) 18AC_REVISION($Revision: 1.370 $)
19AC_CONFIG_SRCDIR([ssh.c]) 19AC_CONFIG_SRCDIR([ssh.c])
20 20
21AC_CONFIG_HEADER(config.h) 21AC_CONFIG_HEADER(config.h)
@@ -3145,7 +3145,10 @@ AC_ARG_WITH(selinux,
3145 AC_MSG_ERROR(SELinux support requires selinux.h header)) 3145 AC_MSG_ERROR(SELinux support requires selinux.h header))
3146 AC_CHECK_LIB(selinux, setexeccon, [ LIBSELINUX="-lselinux" ], 3146 AC_CHECK_LIB(selinux, setexeccon, [ LIBSELINUX="-lselinux" ],
3147 AC_MSG_ERROR(SELinux support requires libselinux library)) 3147 AC_MSG_ERROR(SELinux support requires libselinux library))
3148 save_LIBS="$LIBS"
3149 LIBS="$LIBS $LIBSELINUX"
3148 AC_CHECK_FUNCS(getseuserbyname get_default_context_with_level) 3150 AC_CHECK_FUNCS(getseuserbyname get_default_context_with_level)
3151 LIBS="$save_LIBS"
3149 fi ] 3152 fi ]
3150) 3153)
3151AC_SUBST(LIBSELINUX) 3154AC_SUBST(LIBSELINUX)