Ethereal-dev: Re: [Ethereal-dev] Problems with := in Makefile.am

Note: This archive is from the project's previous web site, ethereal.com. This list is no longer active.

From: Guy Harris <gharris@xxxxxxxxx>
Date: Thu, 21 Oct 2004 23:35:00 -0700
Guy Harris wrote:

whereas the GNU Make manual says it sets a "siimply expanded variable":

Simply expanded variables are defined by lines using `:=' (see section
Setting Variables). The value of a simply expanded variable is scanned once and for all, expanding any references to other variables and functions, when the variable is defined. The actual value of the simply expanded variable is the result of expanding the text that you write. It does not contain any references to other variables; it contains their values as of the time this variable was defined. Therefore,

 x := foo
 y := $(x) bar
 x := later

is equivalent to

 y := foo bar
 x := later

That doesn't appear to matter in this case, so I've checked in a change to use "=" rather than ":=" in epan/dissectors/Makefile.am.