]> mj.ucw.cz Git - moe.git/blobdiff - configure
Judge: Added function get_nl() for checking of an expected end of line.
[moe.git] / configure
index da5ad74b797dd16b3564601aa6f952cc32ed7d0a..d8c25e2236a61b16f48bc2ca11eda68a6c9db644 100755 (executable)
--- a/configure
+++ b/configure
@@ -32,5 +32,13 @@ if (Get("CONFIG_SUBMIT") || Get("CONFIG_MOP")) {
        Set("CONFIG_UCW_LIBS" => 1);
 }
 
        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";
 Finish();
 Log "\nConfigured, run `make' to build everything.\n";