Bugzilla – Attachment 1792 Details for
Bug 1713
configure fails to recognise getseuserbyname and get_default_context_with_level
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
add -lselinux to LIBS before calling AC_CHECK_FUNCS
configure-selinux.diff (text/plain), 804 bytes, created by
Colin Watson
on 2010-02-10 08:14:45 AEDT
(
hide
)
Description:
add -lselinux to LIBS before calling AC_CHECK_FUNCS
Filename:
MIME Type:
Creator:
Colin Watson
Created:
2010-02-10 08:14:45 AEDT
Size:
804 bytes
patch
obsolete
>--- configure.ac 2010-01-24 21:39:36 +0000 >+++ configure.ac 2010-01-24 21:43:12 +0000 >@@ -3422,9 +3422,12 @@ AC_ARG_WITH(selinux, > AC_DEFINE(WITH_SELINUX,1,[Define if you want SELinux support.]) > SELINUX_MSG="yes" > AC_CHECK_HEADER([selinux/selinux.h], , >- AC_MSG_ERROR(SELinux support requires selinux.h header)) >- AC_CHECK_LIB(selinux, setexeccon, [ LIBSELINUX="-lselinux" ], >- AC_MSG_ERROR(SELinux support requires libselinux library)) >+ AC_MSG_ERROR(SELinux support requires selinux.h header)) >+ AC_CHECK_LIB(selinux, setexeccon, >+ [ LIBSELINUX="-lselinux" >+ LIBS="$LIBS -lselinux" >+ ], >+ AC_MSG_ERROR(SELinux support requires libselinux library)) > SSHDLIBS="$SSHDLIBS $LIBSELINUX" > AC_CHECK_FUNCS(getseuserbyname get_default_context_with_level) > LIBS="$save_LIBS"
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 1713
: 1792