<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title></title>
</head>
<body>
<div name="messageReplySection" style="font-size: 14px; font-family: -apple-system, BlinkMacSystemFont, sans-serif;"><br />
On 18 Dec 2017, 10.44 +0200, Kinkie <gkinkie@gmail.com>, wrote:<br />
<blockquote type="cite" style="margin: 5px 5px; padding-left: 10px; border-left: thin solid #1abc9c;">On Mon, Dec 18, 2017 at 7:34 AM, mika ristimaki<br />
<mika.ristimaki@gmail.com> wrote:<br />
<br />
<blockquote type="cite" style="margin: 5px 5px; padding-left: 10px; border-left: thin solid #e67e22;">So my question is how platform independent configure scripts are created if<br />
bootstrap.sh is platform dependant? Or what I am missing here?<br /></blockquote>
<br />
Exactly through bootstrap.sh :)<br />
The full build process for Squid-from-source is<br />
$ bootstrap.sh && ./configure && make<br />
<br />
This is because bootstrap builds auto-generated code (e.g. configure)<br />
which makes no sense to have in our source repository.<br />
At the same time, building from source requires additional tools (e.g.<br />
autoconf, automake, libtoolize) which may not be present on an user's<br />
build system, so these generated bits are included in the distribution<br />
tarball. <br /></blockquote>
<div><br /></div>
<div><br /></div>
<div>Thanks, got it. One more question. Do you know why bootstrap.sh verifies that glibtool is installed in OS X. Cause I tried this</div>
<div><br /></div>
<div>brew install libtool</div>
<div>./bootstrap.sh</div>
<div>brew uninstall libtool</div>
<div>./configure && make</div>
<div><br /></div>
<div>And squid builds (and runs) just fine. But If I do</div>
<div><br /></div>
<div>brew uninstall libtool<br /></div>
<div>./bootstrap.sh<br /></div>
<div><br /></div>
<div>Then bootstrapping fails saying glibtool is not installed.</div>
<div><br /></div>
<div>The reason I am asking is that if I don’t uninstall glibtool, the final binary will have dependency to dynamic glibtool lib. The glibtool is installed to Homebrew default path (/usr/local/..) and doesn’t necessarily exists in other OS X installations. So if I want to give the binary I build to my coworker it may not work in his machine unless he installs glibtool first through homebrew.</div>
<div><br /></div>
<div>-Mika</div>
<div><br /></div>
<blockquote type="cite" style="margin: 5px 5px; padding-left: 10px; border-left: thin solid #1abc9c;"><br />
<br />
--<br />
Francesco<br /></blockquote>
</div>
</body>
</html>