diff options
author | Nikos Mavrogiannopoulos <nmav@redhat.com> | 2017-05-24 15:48:31 +0200 |
---|---|---|
committer | Nikos Mavrogiannopoulos <nmav@redhat.com> | 2017-05-24 15:48:54 +0200 |
commit | 398e23af5e03aea295cd71e852b97ad68094da9b (patch) | |
tree | 2b7d5cdde4837e8342e0ff9726f7d4dd1efa3df8 /configure.ac | |
parent | e288041ec754dde85c369ae92dac40d7351fa7aa (diff) | |
download | gnutls-398e23af5e03aea295cd71e852b97ad68094da9b.tar.gz |
configure: warn when building as static library [ci skip]
Signed-off-by: Nikos Mavrogiannopoulos <nmav@redhat.com>
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac index a322e625b2..e4f963a31f 100644 --- a/configure.ac +++ b/configure.ac @@ -1057,3 +1057,12 @@ AC_MSG_WARN([[ *** to generate or update it. *** ]]) fi + +if test "${enable_static}" != no;then +AC_MSG_WARN([[ +*** GnuTLS will be build as a static library. That means that library +*** constructors for gnutls_global_init will not be made available to +*** linking applications. If you are building that library for arbitrary +*** applications to link, do not enable static linking. +]]) +fi |