From: Timo Hirvonen Date: Fri, 07 Jul 2006 11:23:09 GMT Subject: Re: [PATCH 1/3] configure: Add test for Perl Message-ID: <20060707142309.4d9601dd.tihirvon@gmail.com> In-Reply-To: <20060707110655.GR29115@pasky.or.cz> Petr Baudis wrote: > Dear diary, on Thu, Jul 06, 2006 at 03:10:11PM CEST, I got a letter > where Timo Hirvonen said that... > > "which" isn't portable. On SunOS 5.9 "which foo" prints error message to > > stdout and returns 0. > > Wait, Git runs on SunOS 5.9? I have no idea. I noticed the problem with "which" when I ported my cmus configure scripts to SunOS. In the git Makefile there are: ifeq ($(uname_S),SunOS) ... ifeq ($(uname_R),5.8) ... ifeq ($(uname_R),5.9) so it at least tries to work ;) Oh and that 5.9 is apparently kernel version, not OS version. Sorry for the confusion. -- http://onion.dynserv.net/~timo/