On Sun, Jan 16, 2005 at 04:16:51PM +0200, Shlomi Fish wrote:

> Am I missing something?

No, it was me who was missing something - the problem came from

foo=a
a=1
eval $foo="$a 2"
^^^^^^^^^^^^^^^^

Which will cause autoconf to barf with
./configure: line 1: 2: command not found

The solution is to use
foo=a
a=1
eval $foo="\"$a 2\"" # note the extra quotes

Many thanks to Shlomi, Eran and Amir who replied. 

Cheers, 
Muli
-- 
Muli Ben-Yehuda
http://www.mulix.org | http://mulix.livejournal.com/

Attachment: signature.asc
Description: Digital signature

Reply via email to