summaryrefslogtreecommitdiff
path: root/m4
diff options
context:
space:
mode:
authorNikos Mavrogiannopoulos <nmav@redhat.com>2017-07-18 08:23:01 +0200
committerNikos Mavrogiannopoulos <nmav@redhat.com>2017-09-25 07:46:59 +0200
commit602f5649bc64ee60f5b27cc29384945398fe5fde (patch)
tree84c54c28d53d0677837392847d1749a3d05091c5 /m4
parent8463a47ee342c05f8b498dfa59907a2ea1607c77 (diff)
downloadgnutls-602f5649bc64ee60f5b27cc29384945398fe5fde.tar.gz
require nettle 3.3 or later
This will simplify handling of the x25519 key exchange. Signed-off-by: Nikos Mavrogiannopoulos <nmav@redhat.com>
Diffstat (limited to 'm4')
-rw-r--r--m4/hooks.m412
1 files changed, 5 insertions, 7 deletions
diff --git a/m4/hooks.m4 b/m4/hooks.m4
index 727a6d0c0d..004e0ff848 100644
--- a/m4/hooks.m4
+++ b/m4/hooks.m4
@@ -14,10 +14,8 @@
# of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
# Lesser General Public License for more details.
#
-# You should have received a copy of the GNU Lesser General Public
-# License along with GnuTLS; if not, write to the Free
-# Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
-# MA 02110-1301, USA
+# You should have received a copy of the GNU Lesser General Public License
+# along with this program. If not, see <http://www.gnu.org/licenses/>
AC_DEFUN([LIBGNUTLS_EXTRA_HOOKS],
[
@@ -70,13 +68,13 @@ AC_DEFUN([LIBGNUTLS_HOOKS],
DLL_SSL_VERSION=`expr ${LT_SSL_CURRENT} - ${LT_SSL_AGE}`
AC_SUBST(DLL_SSL_VERSION)
- PKG_CHECK_MODULES(NETTLE, [nettle >= 3.1], [cryptolib="nettle"], [
+ PKG_CHECK_MODULES(NETTLE, [nettle >= 3.3], [cryptolib="nettle"], [
AC_MSG_ERROR([[
***
- *** Libnettle 3.1 was not found.
+ *** Libnettle 3.3 was not found.
]])
])
- PKG_CHECK_MODULES(HOGWEED, [hogweed >= 3.1], [], [
+ PKG_CHECK_MODULES(HOGWEED, [hogweed >= 3.3], [], [
AC_MSG_ERROR([[
***
*** Libhogweed (nettle's companion library) was not found. Note that you must compile nettle with gmp support.