[vsipl++] [patch] Check config at app build time

Jules Bergmann jules at codesourcery.com
Wed Jan 30 14:18:43 UTC 2008


Along the line of making VSIPL++ easier to use from eclipse, I think we 
should make --disable-shared-acconfig the default as well.

In the common case, users building from source, this will put the -D 
options in acconfig.hpp, which will make using eclipse easier.

The only people who need --enable-shared-acconfig are those building 
binary packages, something that most users will not do.

What do folks think?

				-- Jules


Jules Bergmann wrote:
> This patch adds a app_config() function that returns a string for the 
> library's configuration at application build time.  It is identical in 
> format to library_config(), which is the library's configuration at 
> library build time.
> 
> By comparing the output of these two functions, you can check whether 
> you're using the same configuration as when the library was originally 
> built.  This should be useful for folks using eclipse to make sure 
> they've correctly cut-and-pasted the phalanx of options from the 
> pkg-config file into eclipse.
> 
> Ok to apply?
> 
>                 -- Jules
> 


-- 
Jules Bergmann
CodeSourcery
jules at codesourcery.com
(650) 331-3385 x705



More information about the vsipl++ mailing list