diff options
author | Matias Elo <matias.elo@nokia.com> | 2020-09-02 16:17:00 +0300 |
---|---|---|
committer | Petri Savolainen <petri.savolainen@nokia.com> | 2020-09-08 16:08:35 +0300 |
commit | e39b3a9171696992a8c1a510f0cdf78d94c87d7a (patch) | |
tree | 1b04fa7abc124a0175bbd4802522cf9cdfb7184c /configure.ac | |
parent | d38a0bdd9eae957c6464b62efbc06e7184898b56 (diff) |
linux-gen: random: always build both implementations
Always build both random module implementations to detect possible build
issues. Renamed random_null implementation to random_std.
Signed-off-by: Matias Elo <matias.elo@nokia.com>
Reviewed-by: Petri Savolainen <petri.savolainen@nokia.com>
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac index 4de488a25..ae88fbbb5 100644 --- a/configure.ac +++ b/configure.ac @@ -303,8 +303,11 @@ AC_ARG_WITH([openssl], [], [with_openssl=yes]) AS_IF([test "$with_openssl" != "no"], - [ODP_OPENSSL]) + [ODP_OPENSSL + have_openssl=1], [have_openssl=0]) AM_CONDITIONAL([WITH_OPENSSL], [test x$with_openssl != xno]) +AC_DEFINE_UNQUOTED([_ODP_OPENSSL], [$have_openssl], + [Define to 1 to enable OpenSSL support]) ########################################################################## # Include m4 files |