autoconf expanded variables



Hi,

I don't think this is related to the bash/SAGE configure issue just
reported but if someone ends up tinkering with the expanded varibles
in configure.in they might want to add in a fix for autoconf 2.60
which has a double layer of indirection for some variables.  To be
specific

expanded_datadir="`eval \"prefix=${tmp_prefix};echo ${datadir}\"`"

won't work because it seems 'datadir' is defined in terms of
'datarootdir' in 2.60.  I fiddled with something based on
http://autoconf-archive.cryp.to/ac_define_dir.html which seemed to
work, but according to

http://www.gnu.org/software/autoconf/manual/html_node/Defining-Directories.html#Defining-Directories

computing the literal value of these variables is not the-right-thing
to do anyway.  I always build maxima the lisp way but thought I'd
mention if anyone has the symptoms of finding ${prefix} in their paths
it might due to the version of autoconf.

Cheers,

Richard