Actions

icon Post
text/html Subscribe
text/html Unsubscribe

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

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


  • To: VSIPL++ Developers List <vsipl++@xxxxxxxxxxxxxxxx>
  • Subject: Re: [vsipl++] [patch] Check config at app build time
  • From: Jules Bergmann <jules@xxxxxxxxxxxxxxxx>
  • Date: Wed, 30 Jan 2008 09:18:43 -0500

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@xxxxxxxxxxxxxxxx
(650) 331-3385 x705