Add support for building with SSL support on pre-4.0ish systems, if the

appropriate libraries are available.

Submitted by:	asmodai
Approved by:	maintainer
This commit is contained in:
Will Andrews 2000-06-01 17:59:22 +00:00
parent 74401ae824
commit d2873b7f7d
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=29069

View File

@ -34,6 +34,8 @@ CONFIGURE_ARGS+=--enable-inet6
.if exists(/usr/lib/libssl.a) && exists(/usr/lib/libcrypto.a)
CONFIGURE_ARGS+=--with-ssl=/usr
.endif
.else if exists(${LOCALBASE}/lib/libssl.a) && exists(${LOCALBASE}/lib/libcrypto.a)
CONFIGURE_ARGS+=-with-includes=${LOCALBASE}/include/openssl --with-ssl=${LOCALBASE}
.endif
.if exists(/usr/lib/libkrb.a) && defined(MAKE_KERBEROS4)