X-Git-Url: http://mj.ucw.cz/gitweb/?a=blobdiff_plain;ds=sidebyside;f=configure;h=d8c25e2236a61b16f48bc2ca11eda68a6c9db644;hb=def7011b3ec2f20cc195a4405198e03eb6c92b47;hp=da5ad74b797dd16b3564601aa6f952cc32ed7d0a;hpb=c6deb2fe1815c209891e1b25d8e8ecdadb901181;p=moe.git diff --git a/configure b/configure index da5ad74..d8c25e2 100755 --- a/configure +++ b/configure @@ -32,5 +32,13 @@ if (Get("CONFIG_SUBMIT") || Get("CONFIG_MOP")) { Set("CONFIG_UCW_LIBS" => 1); } +if (Get("CONFIG_SUBMIT")) { + # Submit server needs crypto libraries + if (!TrivConfig("libgnutls", script => "libgnutls-config") || + !TrivConfig("libgcrypt", script => "libgcrypt-config")) { + Fail "The libgnutls and libgcrypt libraries are required to build the submit server."; + } +} + Finish(); Log "\nConfigured, run `make' to build everything.\n";