On Feb 26, 2010, at 3:47 PM, Brice Goglin wrote: > >>> +/** \brief Indicate at build time which hwloc API version is being used. > >>> */ > >>> +#define HWLOC_API_VERSION 0x00010000 > >>> > >> I was wondering whether it couldn't be automatically generated from the > >> autoconf information? > > > > Sure. What exactly do you want here? A date/timestamp? > > Should configure generate #define HWLOC_API_VERSION (X<<16)|(Y<<8)|Z > when AC_INIT contains X.Y.Z ?
Ya, I parsed the original question wrong -- a date/timestamp would be dumb. The API version may or may not be related to the hwloc library version, no? For that reason, I'm thinking that this should be separated and manually specified. -- Jeff Squyres jsquy...@cisco.com For corporate legal information go to: http://www.cisco.com/web/about/doing_business/legal/cri/