[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Makefile variables depending on configure args - how?
From: |
Paul Brook |
Subject: |
Re: Makefile variables depending on configure args - how? |
Date: |
Fri, 17 Jan 2003 22:23:46 +0000 |
User-agent: |
KMail/1.5 |
> 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