<br><br><div class="gmail_quote">2010/3/21 Enrico Tröger <span dir="ltr"><<a href="mailto:enrico.troeger@uvena.de">enrico.troeger@uvena.de</a>></span><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
On Tue, 15 Sep 2009 19:27:37 +0200, Enrico wrote:<br>
<br>
>On Fri, 11 Sep 2009 14:06:38 -0400, Erik wrote:<br>
><br>
><br>
>>> In fact, I think there are many system scripts which<br>
>>> use 'which', so if you don't have 'which', your system shouldn't<br>
>>> even work.<br>
>>><br>
>><br>
>>It's that Geany is built in a clean chroot build environment along<br>
>>with only the compilers and libs required. ``which`` is not a<br>
>>necessary build requirement IMHO. We should have a portable, standard,<br>
>>``configure`` that can build Geany, not a system utility script that<br>
>>calls any arbitrary prog and forces users to figure out which ones are<br>
>>needed.<br>
><br>
>The whole reason for using "which" was to be more portable. The<br>
>autoconf macros you mention are broken or at least not usable for<br>
>checking for a C++ compiler (or I'm too stupid, then they are just to<br>
>hard to use).<br>
><br>
>As Nick said, if it is such an issue and you know it that better, we<br>
>would be happy about a sane patch to improve things.<br>
<br>
This patch actually reduced portability.<br>
<br>
<a href="https://sourceforge.net/tracker/?func=detail&atid=787791&aid=2973764&group_id=153444" target="_blank">https://sourceforge.net/tracker/?func=detail&atid=787791&aid=2973764&group_id=153444</a><br>

<br>
Solutions would be welcome.<br></blockquote><div><br>Hi Enrico,<br><br>As you know I'm AC_phobic but, as I understand the comment in <a href="http://configure.ac">configure.ac</a> the idea is to actually confirm that AC_PROG_CXX found the right thing.<br>
<br>Isn't the best way to do this to actually compile something simple and see if it works rather than testing for existance of the executable?  Maybe just compile the definition of a global variable.<br><br>Cheers<br>
Lex<br></div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<br>
Regards,<br>
Enrico<br>
<font color="#888888"><br>
--<br>
Get my GPG key from <a href="http://www.uvena.de/pub.asc" target="_blank">http://www.uvena.de/pub.asc</a><br>
</font><br>_______________________________________________<br>
Geany-devel mailing list<br>
<a href="mailto:Geany-devel@uvena.de">Geany-devel@uvena.de</a><br>
<a href="http://lists.uvena.de/cgi-bin/mailman/listinfo/geany-devel" target="_blank">http://lists.uvena.de/cgi-bin/mailman/listinfo/geany-devel</a><br>
<br></blockquote></div><br>