From: Martin Mares Date: Sun, 1 Apr 2012 13:17:44 +0000 (+0200) Subject: Configure: Newer versions of gnutls use pkg-config X-Git-Url: http://mj.ucw.cz/gitweb/?a=commitdiff_plain;h=e7c1404aca9a5ac3fd265c044df530eca2faf3de;hp=6ae9e5488f680be1b4bb4b8c0384a6d3644add41;p=eval.git Configure: Newer versions of gnutls use pkg-config --- diff --git a/configure b/configure index 2b64617..b772db0 100755 --- a/configure +++ b/configure @@ -38,7 +38,7 @@ if (Get("CONFIG_SUBMIT") || Get("CONFIG_MOP")) { if (Get("CONFIG_SUBMIT")) { # Submit server needs crypto libraries - if (!TrivConfig("libgnutls", script => "libgnutls-config") || + if (!PkgConfig("gnutls") && !TrivConfig("libgnutls", script => "libgnutls-config") || !TrivConfig("libgcrypt", script => "libgcrypt-config")) { Fail "The libgnutls and libgcrypt libraries are required to build the submit server."; }