so i want to do something like this
configure.in:
PROGNAME = "foo"
DIR = "${bindir}/${PROG}"
AC_SUBST(DIR)
myfile.h.in:
#define DIR "@DIR@"
when things resolve out to myfile.h i get
#define CONF_DIR "${exec_prefix}/foo"
this is because $bindir = ${exec_prefix}/bin
i.e. we only get one level of variable resolution.
Is there any way around this, or has anyone written a decently portable
macro to make this work.
thanks
