autoconf
[Top][All Lists]
Advanced

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

Re: Forcing complete expansion of a PATH variable


From: Andreas Schwab
Subject: Re: Forcing complete expansion of a PATH variable
Date: Wed, 23 Apr 2003 21:53:22 +0200
User-agent: Gnus/5.090018 (Oort Gnus v0.18) Emacs/21.3.50 (gnu/linux)

address@hidden (Joshua Kwan) writes:

|> On Wed, Apr 23, 2003 at 11:54:07AM +0200, Guido Draheim wrote:
|> > you need to eval/echo like in...
|> > 
|> > http://ac-archive.sf.net/Miscellaneous/ac_define_dir.html
|> > http://ac-archive.sf.net/Miscellaneous/ac_subst_dir.html
|> > >
|> > >AC_ARG_WITH(musicpath,
|> > >        AC_HELP_STRING([--with-musicpath], [Path to install music files
|> > >  to (default: DATADIR/tetriword/music)]),
|> > >          musicpath=$withval,
|> > >          musicpath=${datadir}/${PACKAGE}/music)
|> > >
|> 
|> Now I have added AC_SUBST_DIR(musicpath) after these lines.
|> 
|> But something weird happens now:
|> 
|> ./configure: line 3594: musicpath: command not found

You must use ${musicpath}, not $(musicpath).

Andreas.

-- 
Andreas Schwab, SuSE Labs, address@hidden
SuSE Linux AG, Deutschherrnstr. 15-19, D-90429 Nürnberg
Key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."




reply via email to

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