automake
[Top][All Lists]
Advanced

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

Multiple definition of VERSION, PACKAGE and so on


From: Patrick Guio
Subject: Multiple definition of VERSION, PACKAGE and so on
Date: Mon, 22 Mar 2004 15:46:25 +0100 (MET)


Dear all,
This is not really a bug but I wonder if you have any remedy to the
following problem. If you use autoconf/automake for several packages
which interact with each other and for each package you generate a
configuration file config.h you migh end up with redefinition warning
message if config.h's are read "together".

... warning: "PACKAGE_VERSION" redefined
... warning: this is the location of the previous definition

... warning: "VERSION" redefined
... warning: this is the location of the previous definition

My concern is how to avoid this? Shouldn't these macro defintion be unique
for each package? Should there be a protection mechanism?

Sincerely, Patrick





reply via email to

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