freebsd fixes

This commit is contained in:
SJ
2014-07-22 21:10:58 +02:00
parent 537641afd9
commit 6d3d61374c
4 changed files with 21 additions and 7 deletions

9
configure vendored
View File

@ -4629,6 +4629,8 @@ fi
if test "$os" = "FreeBSD"; then
defs="$defs -DFREEBSD"
antispam_libs="-lz -lm -lcrypto -lssl"
MAKE="gmake"
fi
if test "$os" = "Linux"; then
@ -4714,7 +4716,12 @@ cat >>confdefs.h <<_ACEOF
#define HAVE_LIBWRAP 1
_ACEOF
antispam_libs="$antispam_libs -lwrap -lnsl"
if test "$os" = "FreeBSD"; then
antispam_libs="$antispam_libs -lwrap"
else
antispam_libs="$antispam_libs -lwrap -lnsl"
fi
else
echo "tcpwrappers support: no"
fi