X-Git-Url: http://mj.ucw.cz/gitweb/?a=blobdiff_plain;ds=inline;f=configure;h=b772db090c0d91ee6094f271df50f7f1f1c4cc74;hb=e7c1404aca9a5ac3fd265c044df530eca2faf3de;hp=2b6461799a3ef49cb4c5c853cd9a8d2bf78917ce;hpb=6ae9e5488f680be1b4bb4b8c0384a6d3644add41;p=moe.git 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."; }