<div dir="ltr"><div>autogen.sh is failing for me on Mac because Apple's libtool is not in the same place as Homebrew's autoconf/automake. I perused autogen.sh but didn't see an option to fix this.</div><div><br></div><div>I need to use Homebrew autotools for other projects and don't want to uninstall Xcode for obvious reasons. Is there a workaround besides hacking autogen.sh and hating myself? I'd like to cause it to glibtool instead.<br><br></div><div>If nothing else, autogen.sh incorrectly prints the location of libtool. It is in /usr/bin not /.</div><div><br></div><div>Thanks,</div><div><br>Jeff</div> <br>jrhammon-mac01:git jrhammon$ which libtool<br>/usr/bin/libtool<br>jrhammon-mac01:git jrhammon$ which autoconf<br>/usr/local/bin/autoconf<br>jrhammon-mac01:git jrhammon$ which automake<br>/usr/local/bin/automake<br>jrhammon-mac01:git jrhammon$ which glibtool<br>/usr/local/bin/glibtool<br><br><br>jrhammon-mac01:git jrhammon$ ./autogen.sh <br><br>####################################<br>## Checking user environment<br>####################################<br><br>Verifying the location of autogen.sh... done<br>usage: dirname path<br>Checking if autotools are in the same location... no<br>autoconf is in /usr/local<br>automake is in /usr/local<br>libtool is in /<br>===> WARNING: Autotools are in different locations. In rare occasion,<br>===> WARNING: resulting configure or makefile may fail in some unexpected ways.<br>Checking if autoreconf accepts -I //share/aclocal... no<br>Checking if autoreconf works after an additional libtoolize step... no<br>===> ERROR: Since none of the autoreconf workaround works<br>===> ERROR: and autotools are not in the same directory, aborting...<br>===> ERROR: Updating autotools or putting all autotools in the same location<br>===> ERROR: may resolve the issue.<br><br><br>--<br>Jeff Hammond<br><a href="mailto:jeff.science@gmail.com">jeff.science@gmail.com</a><br><a href="http://jeffhammond.github.io/">http://jeffhammond.github.io/</a>
</div>