Merge pull request #1389 from rubenk/perl-unlock-on-error
[collectd.git] / configure.ac
index e9728d5..de4d87b 100644 (file)
@@ -1,9 +1,5 @@
 dnl Process this file with autoconf to produce a configure script.
-AC_INIT([collectd],
-       [m4_esyscmd(./version-gen.sh)],
-       [https://github.com/collectd/collectd/issues],
-       [collectd],
-       [https://collectd.org])
+AC_INIT([collectd],[m4_esyscmd(./version-gen.sh)])
 AC_CONFIG_SRCDIR(src/)
 AC_CONFIG_HEADERS(src/config.h)
 AC_CONFIG_AUX_DIR([libltdl/config])
@@ -74,7 +70,7 @@ then
 fi
 if test "x$have_protoc_c" = "xyes"
 then
-       AC_CHECK_LIB([protobuf-c], [protobuf_c_version],
+       AC_CHECK_LIB([protobuf-c], [protobuf_c_message_pack],
                     [have_protoc_c="yes"],
                     [have_protoc_c="no (libprotobuf-c not found)"])
 
@@ -2069,12 +2065,6 @@ then
        AC_CHECK_LIB(gcrypt, gcry_md_hash_buffer,
                [with_libgcrypt="yes"],
                [with_libgcrypt="no (symbol gcry_md_hash_buffer not found)"])
-
-       if test "$with_libgcrypt" != "no"; then
-               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
 fi
 
 CPPFLAGS="$SAVE_CPPFLAGS"