Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Message-ID: <80575AFA5F0DD31197CE00805F650D767B22AF@wilber.adroit.com> From: "Robinow, David" To: cygwin AT cygwin DOT com Subject: RE: (setup.ini) autoconf requires Perl? Date: Fri, 13 Sep 2002 13:46:35 -0400 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" > From: Patrick J. LoPresti [mailto:patl AT curl DOT com] > Subject: Re: (setup.ini) autoconf requires Perl? > Heuristics are often a poor design. The author of the Perl code knows > which version she wants; she should have a way to specify it. > > "perl" vs. "perl.exe" is not a perfect solution, but it is at least as > good as any of the others I have seen. /proc/registry/HKEY_LOCAL_MACHINE/SOFTWARE/Perl/BinDir contains the path to ActiveState Perl (/proc/registry/HKEY_LOCAL_MACHINE/SOFTWARE/ActiveState/ActivePerl also points to it indirectly) Somebody more industrious than I could write a script to invoke it. Once you find yourself in perl, $^O returns "MSWin32" for ActivePerl and "cygwin" for guess what. -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/