diff options
author | Linus Nordberg <linus@nordberg.se> | 2012-12-19 15:45:42 +0100 |
---|---|---|
committer | Linus Nordberg <linus@nordberg.se> | 2012-12-19 15:45:42 +0100 |
commit | 345a7088838882e69b053490f9714590192b79f6 (patch) | |
tree | 10fcffa0bd1218fbae52bdfa5ed7ac4230c98904 | |
parent | 464d80171f4a12ffadbcf8cea41a5867d49f9c77 (diff) |
Define WITHOUT_OPENSSL if we don't have openssl.
This is for radius/client.h.
We will want an alternative way of getting MD5. Include md5.[ch] from
FreeBSD? Link with libnettle?
-rw-r--r-- | lib/configure.ac | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/configure.ac b/lib/configure.ac index bb71a6a..e483b1e 100644 --- a/lib/configure.ac +++ b/lib/configure.ac @@ -28,6 +28,10 @@ AC_ARG_ENABLE([tls], AS_HELP_STRING([--enable-tls], [enable TLS (RadSec)]), AC_DEFINE([RS_ENABLE_TLS]) AC_DEFINE([RADPROT_TLS])]) dnl Legacy. AM_CONDITIONAL([RS_ENABLE_TLS], [test "${enable_tls+set}" = set]) +### Define WITHOUT_OPENSSL for radius/client.h. +if test -z "$enable_tls"; then + CPPFLAGS="$CPPFLAGS -DWITHOUT_OPENSSL" +fi ## Enable TLS-PSK (preshared keys). AH_TEMPLATE([RS_ENABLE_TLS_PSK], [TLS-PSK (TLS preshared keys) enabled]) AC_ARG_ENABLE([tls-psk], AS_HELP_STRING([--enable-tls-psk], [enable TLS-PSK (TLS preshared keys)]), |