From: nobu.nokada@... Date: 2002-07-20T10:09:57+09:00 Subject: Re: [PATCH] lib/mkmf.rb: have_bin()/find_bin() Hi, At Mon, 8 Jul 2002 09:26:58 +0900, Sean Chittenden wrote: > > > > This could be me over looking something, but in mkmf.rb, there is no > > > > reliable way to test for an external binary, such as net-snmp-config, > > > > which contains much of the linking/compiling information. Anyway, the > > > > attached implements have_bin() and find_bin() methods. Comments? -sc > > > > I guess it's better to use CONFIG["EXEEXT"] and > > CONFIG["PATH_SEPARATOR"]. > > I did not know about those two options: yes it is better, thank you. > Corrected patch attached. -sc Sorry to be late. Looks fine to me, but I wonder if both are necessary, have_bin seems to work good enough even if it were an alias of find_bin. -- Nobu Nakada