Don't check for encrypt() on FreeBSD, it's not required to build.
authorPawel Pekala <c0rn@o2.pl>
Tue, 11 Oct 2016 20:47:51 +0000 (22:47 +0200)
committerPawel Pekala <c0rn@o2.pl>
Tue, 11 Oct 2016 20:47:51 +0000 (22:47 +0200)
Recently on 12-CURRENT this function was removed completly making
configure script fail.

configure.ac

index 9ba8bbe..9e031c8 100644 (file)
@@ -500,6 +500,8 @@ case $host_os in
        *dragonfly*)
                AC_SEARCH_LIBS(encrypt, cipher, [], AC_MSG_ERROR(['encrypt'-function not found.]))
        ;;
+       *freebsd*)
+       ;; # not used
        *)
                AC_SEARCH_LIBS(encrypt, crypt, [], AC_MSG_ERROR(['encrypt'-function not found.]))
        ;;