X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=configure.ac;fp=configure.ac;h=a911e0fec4c8ddc95160fc4a9757c49a7aa1092f;hb=ecbcaadde7dff838f09dfb04c7eb90f126e35abf;hp=d38cbb5d21f938a4d2c4964af01b50233407edfb;hpb=6c72fa02608cc4be8febc4ae3fec809d281536f8;p=collectd.git diff --git a/configure.ac b/configure.ac index d38cbb5d..a911e0fe 100644 --- a/configure.ac +++ b/configure.ac @@ -1926,7 +1926,7 @@ then [with_libgcrypt="no (symbol gcry_md_hash_buffer not found)"]) if test "$with_libgcrypt" != "no"; then - AM_PATH_LIBGCRYPT(1:1.2.0,,with_libgcrypt="no (version 1.2.0+ required)") + m4_ifdef([AM_PATH_LIBGCRYPT],[AM_PATH_LIBGCRYPT(1:1.2.0,,with_libgcrypt="no (version 1.2.0+ required)")]) GCRYPT_CPPFLAGS="$LIBGCRYPT_CPPFLAGS $LIBGCRYPT_CFLAGS" GCRYPT_LIBS="$LIBGCRYPT_LIBS" fi