Bug 1713

Summary: configure fails to recognise getseuserbyname and get_default_context_with_level
Product: Portable OpenSSH Reporter: Colin Watson <cjwatson>
Component: Build systemAssignee: Assigned to nobody <unassigned-bugs>
Status: CLOSED FIXED    
Severity: normal CC: djm, dtucker
Priority: P2    
Version: 5.3p1   
Hardware: Other   
OS: Linux   
URL: https://bugs.launchpad.net/ubuntu/+source/openssh/+bug/188136
Bug Depends on:    
Bug Blocks: 1626    
Attachments:
Description Flags
add -lselinux to LIBS before calling AC_CHECK_FUNCS none

Description Colin Watson 2010-02-10 08:14:45 AEDT
Created attachment 1792 [details]
add -lselinux to LIBS before calling AC_CHECK_FUNCS

Caleb Case <calebcase@gmail.com> pointed out in https://bugs.launchpad.net/ubuntu/+source/openssh/+bug/188136 that configure fails to detect some SELinux functions because it doesn't add -lselinux to LIBS before calling AC_CHECK_FUNCS.  (Changing LIBS here clearly has no effect on any code after the AC_CHECK_FUNCS call - LIBS is reset immediately afterwards.)

Apologies for not forwarding this patch before now.
Comment 1 Damien Miller 2010-02-10 10:19:45 AEDT
applied, this will be in OpenSSH 5.4 - thanks.
Comment 2 Darren Tucker 2010-03-26 10:52:06 AEDT
With the release of 5.4p1, this bug is now considered closed.