Hi all,
My program has something like this in configure.in:
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)
So musicpath will default to ${datadir}/${PACKAGE}/music. This is good!
But later on:
if test $music = yes; then
echo "Music will be installed in : $musicpath"
fi
This prints out:
Music will be installed in : ${prefix}/share/tetriword/music
Ugh! Is there a non-hacky way that I can force the expansion of that
${prefix}?
(please CC me, i'm not subscribed to this list yet)
Regards,
Josh