<!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/1342">#1342</a>
</p>
<div class="md">
<p dir="auto">From <code>./configure --help</code>:</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">[...]</span>
<span id="LC2" class="line" lang="plaintext">  --without-brotli        disable brotli compression support</span>
<span id="LC3" class="line" lang="plaintext">  --without-zstd          disable zstd compression support</span>
<span id="LC4" class="line" lang="plaintext">[...]</span></code></pre>
<copy-code></copy-code>
</div>
<p dir="auto">But <code>./configure --without-brotli --without-zstd</code> yields:</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">configure: WARNING: unrecognized options: --without-brotli, --without-zstd</span>
<span id="LC2" class="line" lang="plaintext">checking build system type... x86_64-pc-linux-gnu</span>
<span id="LC3" class="line" lang="plaintext">checking host system type... x86_64-pc-linux-gnu</span>
<span id="LC4" class="line" lang="plaintext">checking for a BSD-compatible install... /usr/bin/install -c</span>
<span id="LC5" class="line" lang="plaintext">[...]</span></code></pre>
<copy-code></copy-code>
</div>
<p dir="auto">In <code>configure.ac</code>, these options are defined as:</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">AC_ARG_WITH(libbrotli,</span>
<span id="LC2" class="line" lang="plaintext">           AS_HELP_STRING([--without-brotli], [disable brotli compression support]),</span>
<span id="LC3" class="line" lang="plaintext">           ac_brotli=$withval, ac_brotli=yes)</span>
<span id="LC4" class="line" lang="plaintext">[...]</span>
<span id="LC5" class="line" lang="plaintext">AC_ARG_WITH(libzstd,</span>
<span id="LC6" class="line" lang="plaintext">           AS_HELP_STRING([--without-zstd], [disable zstd compression support]),</span>
<span id="LC7" class="line" lang="plaintext">           ac_zstd=$withval, ac_zstd=yes)</span>
<span id="LC8" class="line" lang="plaintext">[...]</span></code></pre>
<copy-code></copy-code>
</div>
<p dir="auto">The first argument of <code>AC_ARG_WITH</code> corresponds to the <code>--{with,without}-*</code> argument, so it all needs to be consistently <code>libbrotli</code> (etc) or <code>brotli</code> (etc).</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/1342">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/0a6818b1432bb61e67f0cf05c5592991/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/1342"}}</script>


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