diff options
author | Darren Tucker <dtucker@zip.com.au> | 2006-10-07 09:07:20 +1000 |
---|---|---|
committer | Darren Tucker <dtucker@zip.com.au> | 2006-10-07 09:07:20 +1000 |
commit | adc947d5a532880e7a2ffd1828789ada8fea6931 (patch) | |
tree | d13e2b2161fbf073180ce517b8393cddd6416684 | |
parent | 09f1093a29e6dcbec76cfa1831d080ced2d4b627 (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-- | ChangeLog | 5 | ||||
-rw-r--r-- | configure.ac | 7 |
2 files changed, 9 insertions, 3 deletions
@@ -1,6 +1,9 @@ | |||
1 | 20061006 | 1 | 20061006 |
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 | ||
5 | 20061003 | 8 | 20061003 |
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 | ||
17 | AC_INIT(OpenSSH, Portable, openssh-unix-dev@mindrot.org) | 17 | AC_INIT(OpenSSH, Portable, openssh-unix-dev@mindrot.org) |
18 | AC_REVISION($Revision: 1.369 $) | 18 | AC_REVISION($Revision: 1.370 $) |
19 | AC_CONFIG_SRCDIR([ssh.c]) | 19 | AC_CONFIG_SRCDIR([ssh.c]) |
20 | 20 | ||
21 | AC_CONFIG_HEADER(config.h) | 21 | AC_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 | ) |
3151 | AC_SUBST(LIBSELINUX) | 3154 | AC_SUBST(LIBSELINUX) |