|
Lines 3505-3511
LIBSELINUX=""
Link Here
|
| 3505 |
AC_ARG_WITH(selinux, |
3505 |
AC_ARG_WITH(selinux, |
| 3506 |
[ --with-selinux Enable SELinux support], |
3506 |
[ --with-selinux Enable SELinux support], |
| 3507 |
[ if test "x$withval" != "xno" ; then |
3507 |
[ if test "x$withval" != "xno" ; then |
| 3508 |
save_LIBS="$LIBS" |
|
|
| 3509 |
AC_DEFINE(WITH_SELINUX,1,[Define if you want SELinux support.]) |
3508 |
AC_DEFINE(WITH_SELINUX,1,[Define if you want SELinux support.]) |
| 3510 |
SELINUX_MSG="yes" |
3509 |
SELINUX_MSG="yes" |
| 3511 |
AC_CHECK_HEADER([selinux/selinux.h], , |
3510 |
AC_CHECK_HEADER([selinux/selinux.h], , |
|
Lines 3517-3523
AC_ARG_WITH(selinux,
Link Here
|
| 3517 |
AC_MSG_ERROR(SELinux support requires libselinux library)) |
3516 |
AC_MSG_ERROR(SELinux support requires libselinux library)) |
| 3518 |
SSHDLIBS="$SSHDLIBS $LIBSELINUX" |
3517 |
SSHDLIBS="$SSHDLIBS $LIBSELINUX" |
| 3519 |
AC_CHECK_FUNCS(getseuserbyname get_default_context_with_level) |
3518 |
AC_CHECK_FUNCS(getseuserbyname get_default_context_with_level) |
| 3520 |
LIBS="$save_LIBS" |
|
|
| 3521 |
fi ] |
3519 |
fi ] |
| 3522 |
) |
3520 |
) |
| 3523 |
|
3521 |
|