summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac10
1 files changed, 7 insertions, 3 deletions
diff --git a/configure.ac b/configure.ac
index bd393b592..396fc974a 100644
--- a/configure.ac
+++ b/configure.ac
@@ -626,6 +626,7 @@ main() { if (NSVersionOfRunTimeLibrary("System") >= (60 << 16))
626 AC_DEFINE(SSH_TUN_PREPEND_AF, 1, 626 AC_DEFINE(SSH_TUN_PREPEND_AF, 1,
627 [Prepend the address family to IP tunnel traffic]) 627 [Prepend the address family to IP tunnel traffic])
628 fi 628 fi
629 AC_DEFINE(OOM_ADJUST, 1, [Adjust Linux out-of-memory killer])
629 ;; 630 ;;
630mips-sony-bsd|mips-sony-newsos4) 631mips-sony-bsd|mips-sony-newsos4)
631 AC_DEFINE(NEED_SETPGRP, 1, [Need setpgrp to acquire controlling tty]) 632 AC_DEFINE(NEED_SETPGRP, 1, [Need setpgrp to acquire controlling tty])
@@ -3355,9 +3356,12 @@ AC_ARG_WITH(selinux,
3355 AC_DEFINE(WITH_SELINUX,1,[Define if you want SELinux support.]) 3356 AC_DEFINE(WITH_SELINUX,1,[Define if you want SELinux support.])
3356 SELINUX_MSG="yes" 3357 SELINUX_MSG="yes"
3357 AC_CHECK_HEADER([selinux/selinux.h], , 3358 AC_CHECK_HEADER([selinux/selinux.h], ,
3358 AC_MSG_ERROR(SELinux support requires selinux.h header)) 3359 AC_MSG_ERROR(SELinux support requires selinux.h header))
3359 AC_CHECK_LIB(selinux, setexeccon, [ LIBSELINUX="-lselinux" ], 3360 AC_CHECK_LIB(selinux, setexeccon,
3360 AC_MSG_ERROR(SELinux support requires libselinux library)) 3361 [ LIBSELINUX="-lselinux"
3362 LIBS="$LIBS -lselinux"
3363 ],
3364 AC_MSG_ERROR(SELinux support requires libselinux library))
3361 SSHDLIBS="$SSHDLIBS $LIBSELINUX" 3365 SSHDLIBS="$SSHDLIBS $LIBSELINUX"
3362 AC_CHECK_FUNCS(getseuserbyname get_default_context_with_level) 3366 AC_CHECK_FUNCS(getseuserbyname get_default_context_with_level)
3363 LIBS="$save_LIBS" 3367 LIBS="$save_LIBS"