summaryrefslogtreecommitdiffstats
path: root/secure/lib/libcrypto/Makefile.inc
diff options
context:
space:
mode:
authorkris <kris@FreeBSD.org>2000-01-16 05:19:27 +0000
committerkris <kris@FreeBSD.org>2000-01-16 05:19:27 +0000
commite34db3169c7915eac8e9c8dd79d9ea07d8022129 (patch)
treec859ad5f3b4ac3ba9b34e649d1f63b1fc9e5acc4 /secure/lib/libcrypto/Makefile.inc
parentb3412e9f7e5d69a30bbee562bfa6e398761babd8 (diff)
downloadFreeBSD-src-e34db3169c7915eac8e9c8dd79d9ea07d8022129.zip
FreeBSD-src-e34db3169c7915eac8e9c8dd79d9ea07d8022129.tar.gz
*** empty log message ***
Diffstat (limited to 'secure/lib/libcrypto/Makefile.inc')
-rw-r--r--secure/lib/libcrypto/Makefile.inc5
1 files changed, 4 insertions, 1 deletions
diff --git a/secure/lib/libcrypto/Makefile.inc b/secure/lib/libcrypto/Makefile.inc
index b6f5e23..bee00f6 100644
--- a/secure/lib/libcrypto/Makefile.inc
+++ b/secure/lib/libcrypto/Makefile.inc
@@ -13,10 +13,13 @@ CFLAGS+= -DDEVRANDOM=\"/dev/urandom\"
.endif
.endif
-.if !defined(RSA_NONCOMMERCIAL) || ${RSA_NONCOMMERCIAL} != YES
+LOCALBASE?= /usr/local
+
+.if !exists(${LOCALBASE}/lib/librsaref.a)
CFLAGS+= -DNO_RSA -DNO_SSL2
WITH_RSA= NO
.else
CFLAGS+= -DRSAref
RSAREF= YES
+WITH_RSA= YES
.endif
OpenPOWER on IntegriCloud