autoconf
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Makefile variables depending on configure args - how?


From: Earnie Boyd
Subject: Re: Makefile variables depending on configure args - how?
Date: Mon, 20 Jan 2003 07:29:51 -0500
User-agent: Mozilla/5.0 (Windows; U; WinNT4.0; en-US; rv:1.1) Gecko/20020826

Markus Werle wrote:
Paul Brook wrote:


I think you need to add

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


Thanks! I knew it was something very simple.

Another question: I thought configure.in was just a shell
script substitute, so I ommitted the "{}".
Also missing brackets around DIET do not disturb autoconf.
Is the follwing OK, or are there any issues (like portability)?

AC_SUBST(DIET, $DIETDIR)


The rule of thumb is to quote. The expansions may cause problems that quoting will avoid. I.E.: It may work this time, but not the next.

Earnie.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]