autoconf
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Checking for scripting languages.


From: Tommy Nordgren
Subject: Re: Checking for scripting languages.
Date: Sat, 9 May 2009 20:10:58 +0200


On Apr 29, 2009, at 3:58 AM, William Pursell wrote:

Tommy Nordgren wrote:
I  need to check for scripting languages (ruby, perl , python 2.x ,
python 3.0) and generating a script file
depending on what's available.
I do this in the following way
if ruby is available:
cp collect.rb collect && chmod +x collect
if perl is available:
cp collect.rb collect && chmod +x collect

You probably want $srcdir/collect.rb.  (Sorry,
that doesn't answer your question, but your
current setup won't allow a VPATH build.)

-- William Pursell


That won't work anyway, because the open-source package I'm trying to extend don't use generated makefiles at all, except small fragments generated by the collect script.
-------------------------------------
This sig is dedicated to the advancement of Nuclear Power
Tommy Nordgren
address@hidden








reply via email to

[Prev in Thread] Current Thread [Next in Thread]