<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" "http://www.w3.org/TR/REC-html40/loose.dtd">
<html lang="en">
<head>
<meta content="text/html; charset=US-ASCII" http-equiv="Content-Type">
<title>
GitLab
</title>


<style>img {
max-width: 100%; height: auto;
}
</style>
</head>
<body>
<div class="content">

<p class="details" style="font-style: italic; color: #666;">
<a href="https://gitlab.com/thesamesam">Sam James</a> created an issue: <a href="https://gitlab.com/gnutls/gnutls/-/issues/1343">#1343</a>
</p>
<div class="md">
<p dir="auto"><code>./configure</code> with zstd installed looks like this for me:</p>
<div class="gl-relative markdown-code-block js-markdown-code">
<pre class="code highlight js-syntax-highlight language-plaintext" lang="plaintext" v-pre="true" style="border-radius: 2px; margin: 0 0 8px; padding: 8px 12px; border: 1px solid #dbdbdb;"><code><span id="LC1" class="line" lang="plaintext">checking how to link with libz... -lz</span>
<span id="LC2" class="line" lang="plaintext">checking whether to include brotli compression support... no</span>
<span id="LC3" class="line" lang="plaintext">checking whether to include zstd compression support... yes</span>
<span id="LC4" class="line" lang="plaintext">checking for LIBZSTD... yes</span>
<span id="LC5" class="line" lang="plaintext">configure: WARNING: *** LIBZSTD was not found. You will not be able to use ZSTD compression.</span>
<span id="LC6" class="line" lang="plaintext">checking whether building Guile bindings... yes</span></code></pre>
<copy-code></copy-code>
</div>
<p dir="auto">It's finding zstd (and saying so) but then telling me it wasn't!</p>
<p dir="auto"><code>configure.ac</code> contains:</p>
<div class="gl-relative markdown-code-block js-markdown-code">
<pre class="code highlight js-syntax-highlight language-plaintext" lang="plaintext" v-pre="true" style="border-radius: 2px; margin: 0 0 8px; padding: 8px 12px; border: 1px solid #dbdbdb;"><code><span id="LC1" class="line" lang="plaintext">if test "${with_libzstd}" = "yes" && test "${has_zstd_h}" = "yes"; then</span></code></pre>
<copy-code></copy-code>
</div>
<p dir="auto">... but <code>has_zstd_h</code> isn't defined by anything, so this test can never pass.</p>
</div>

</div>
<div class="footer" style="margin-top: 10px;">
<p style="font-size: small; color: #666;">

<br>
Reply to this email directly or <a href="https://gitlab.com/gnutls/gnutls/-/issues/1343">view it on GitLab</a>.
<br>
You're receiving this email because of your account on gitlab.com.
If you'd like to receive fewer emails, you can
<a href="https://gitlab.com/-/sent_notifications/9518b2ae941de49f83a927e75bb19d44/unsubscribe">unsubscribe</a>
from this thread or
adjust your notification settings.
<script type="application/ld+json">{"@context":"http://schema.org","@type":"EmailMessage","action":{"@type":"ViewAction","name":"View Issue","url":"https://gitlab.com/gnutls/gnutls/-/issues/1343"}}</script>


</p>
</div>
</body>
</html>