diff options
-rw-r--r-- | configure.ac | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac index e36b04942..7258cc0e5 100644 --- a/configure.ac +++ b/configure.ac | |||
@@ -644,6 +644,9 @@ main() { if (NSVersionOfRunTimeLibrary("System") >= (60 << 16)) | |||
644 | supported by bsd-setproctitle.c]) | 644 | supported by bsd-setproctitle.c]) |
645 | AC_CHECK_FUNCS([sandbox_init]) | 645 | AC_CHECK_FUNCS([sandbox_init]) |
646 | AC_CHECK_HEADERS([sandbox.h]) | 646 | AC_CHECK_HEADERS([sandbox.h]) |
647 | AC_CHECK_LIB([sandbox], [sandbox_apply], [ | ||
648 | SSHDLIBS="$SSHDLIBS -lsandbox" | ||
649 | ]) | ||
647 | ;; | 650 | ;; |
648 | *-*-dragonfly*) | 651 | *-*-dragonfly*) |
649 | SSHDLIBS="$SSHDLIBS -lcrypt" | 652 | SSHDLIBS="$SSHDLIBS -lcrypt" |