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>2018-02-19 15:29:33 +0100
commit6ac1e69039914bde701457edb242e45e0b7463d1 (patch)
tree58ab0a01332159684c4d6980de644cc7b5a427d0 /m4
parent35662d783dd280e911afcd483d38490e42c284b9 (diff)
downloadgnutls-6ac1e69039914bde701457edb242e45e0b7463d1.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 469748155d..aef186d932 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.