Bug 1713 - configure fails to recognise getseuserbyname and get_default_context_with_level
Summary: configure fails to recognise getseuserbyname and get_default_context_with_level
Status: CLOSED FIXED
Alias: None
Product: Portable OpenSSH
Classification: Unclassified
Component: Build system (show other bugs)
Version: 5.3p1
Hardware: Other Linux
: P2 normal
Assignee: Assigned to nobody
URL: https://bugs.launchpad.net/ubuntu/+so...
Keywords:
Depends on:
Blocks: V_5_4
  Show dependency treegraph
 
Reported: 2010-02-10 08:14 AEDT by Colin Watson
Modified: 2010-03-26 10:52 AEDT (History)
2 users (show)

See Also:


Attachments
add -lselinux to LIBS before calling AC_CHECK_FUNCS (804 bytes, patch)
2010-02-10 08:14 AEDT, Colin Watson
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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.