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: Joshua Kwan
Subject: Re: Forcing complete expansion of a PATH variable
Date: Wed, 23 Apr 2003 12:16:40 -0700
User-agent: Mutt/1.5.4i

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

This doesn't affect the success of configure, but I wonder why it is
there? I looked in configure itself and lo there it was:

        musicpath
        musicpath=`(
            test "x$prefix" = xNONE && prefix="$ac_default_prefix"
            test "x$exec_prefix" = xNONE && exec_prefix="${prefix}"
            eval echo \""$musicpath"\"   
        )`

But I've added nothing but that one AC_SUBST_DIR. I am using the m4 code
verbatim from the site ou have given me. Do you know what's up?

Thanks again, please CC me again on the reply :)

Regards
Josh
-- 
New PGP public key: 0x27AFC3EE

Attachment: pgpNs_BeiikqJ.pgp
Description: PGP signature


reply via email to

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