diff options
author | Bruno Haible <bruno@clisp.org> | 2019-08-24 11:07:23 +0200 |
---|---|---|
committer | Bruno Haible <bruno@clisp.org> | 2019-08-24 11:07:23 +0200 |
commit | 5026087e7f01023e2fd7a7d37d6bf6552e59be37 (patch) | |
tree | 065f45b02f281eea416dc2d4f17d2f1a8ff77523 /m4/gc.m4 | |
parent | fff7fcc2286b45651642278314dae82f7774a2f4 (diff) | |
download | gnulib-5026087e7f01023e2fd7a7d37d6bf6552e59be37.tar.gz |
gc: Fix configuration with --with-libgcrypt.
* m4/libgcrypt.m4: New file, copied from libgcrypt/src/libgcrypt.m4.
* modules/crypto/gc (Files): Add it.
* m4/gc.m4 (gl_GC): Assume AM_PATH_LIBGCRYPT is defined.
Diffstat (limited to 'm4/gc.m4')
-rw-r--r-- | m4/gc.m4 | 7 |
1 files changed, 3 insertions, 4 deletions
@@ -1,4 +1,4 @@ -# gc.m4 serial 10 +# gc.m4 serial 11 dnl Copyright (C) 2005-2019 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, @@ -14,9 +14,8 @@ AC_DEFUN([gl_GC], # gc-libgcrypt.c will fail on startup if we don't have # version 1.4.4 or later, so test for it early. */ gl_good_gcrypt=no - m4_ifdef([AM_PATH_LIBGCRYPT], - [AM_PATH_LIBGCRYPT([1.4.4], [gl_good_gcrypt=yes], - [AC_MSG_ERROR([libgcrypt is too old])])]) + AM_PATH_LIBGCRYPT([1.4.4], [gl_good_gcrypt=yes], + [AC_MSG_ERROR([libgcrypt is too old])]) if test "x$gl_good_gcrypt" != xno; then AC_LIB_HAVE_LINKFLAGS([gcrypt], [gpg-error], [#include <gcrypt.h>]) else |