<p dir="auto">I just configured rust and I noticed this warning appear:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="sed: 1: &quot;tools/Makefile&quot;: undefined label 'ools/Makefile'"><pre class="notranslate"><code class="notranslate">sed: 1: "tools/Makefile": undefined label 'ools/Makefile'
</code></pre></div>
<p dir="auto">Nothing seems to have gone wrong as a result of this, but I think this might indicate a subtle problem with some sed invocation somewhere.</p>
<p dir="auto">I'm using the default sed that ships with OS X Lion (BSD sed, not sure which version)</p>
<p dir="auto">These lines</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="        # Hack the tools Makefile to turn off the clang build
        sed -i 's/clang//g' tools/Makefile"><pre class="notranslate"><code class="notranslate">        # Hack the tools Makefile to turn off the clang build
        sed -i 's/clang//g' tools/Makefile
</code></pre></div>
<p dir="auto">are not correct for sed on OS X, where the extension for the backup files is required when using <code class="notranslate">-i</code></p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="% sed --help
sed: illegal option -- -
usage: sed script [-Ealn] [-i extension] [file ...]
       sed [-Ealn] [-i extension] [-e script] ... [-f script_file] ... [file ...]"><pre class="notranslate"><code class="notranslate">% sed --help
sed: illegal option -- -
usage: sed script [-Ealn] [-i extension] [file ...]
       sed [-Ealn] [-i extension] [-e script] ... [-f script_file] ... [file ...]
</code></pre></div>
<p dir="auto">I believe this is what causes the following output during configure:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="sed: 1: &quot;tools/Makefile&quot;: undefined label 'ools/Makefile'"><pre class="notranslate"><code class="notranslate">sed: 1: "tools/Makefile": undefined label 'ools/Makefile'
</code></pre></div>