> Now in my Makefile.am I want to do 2 things:
>
> First of all I want to add $DIET to VPATH

Dunno about this one.

> Second: I want to use $DIET e.g in other definitions:
>
> test_linalg_SOURCES = $(DIET)/demos/linalg/TestLinalg.C
>
> But somehow variable DIET is not propagated from configure.in
> to Makefile.am. Is there a workaround for this?

I think you need to add

AC_SUBST([DIET], [${DIETDIR}])

Paul


Reply via email to