Date: prev next · Thread: first prev next last
2011 Archives by date, by thread · List index


Francois Tigeot píše v St 06. 04. 2011 v 11:25 +0200:
On Tue, Apr 05, 2011 at 09:02:48PM +0200, Francois Tigeot wrote:
On Tue, Apr 05, 2011 at 02:28:40PM +0200, Petr Mladek wrote:
On Tue, Apr 05, 2011 at 11:53:55AM +0100, Michael Meeks wrote:
      I guess it might be a good idea to default to 'auto' for hash-style,
and compile and link a small test program with that, defaulting to 'gnu'
if that is supported, and no flag if not.

Francois, would you be able to cook up something, please? If it is
enough to use AC_TRY_RUN, you might find some samples in
bootstrap/configure.in.

Here's a first patch to add a check if the build machine can run
--hash-style=gnu binaries.

I still have to find a way to link this check to the AC_ARG_WITH section.

It was a good start. I think that it would be confusing to integrate it
to the AC_ARG_WITH section. These sections are usually pretty simple.
All the more complex tests are done later in configure.in.

I have found that there already was a check for --hash-style. So, I used
your draft and itegrated it into the existing test, see
http://cgit.freedesktop.org/libreoffice/bootstrap/commit/?h=libreoffice-3-4&id=34e8665b5d3544c48086701d9f758ef0b9d900f8

It seems to work here. I hope that it will work for you as well.

Please, do not feel offended that I did not use your patch as is. The
patch was nice but needed more love. I did not want to bother you too
much.

Best Regards,
Petr


Context


Privacy Policy | Impressum (Legal Info) | Copyright information: Unless otherwise specified, all text and images on this website are licensed under the Creative Commons Attribution-Share Alike 3.0 License. This does not include the source code of LibreOffice, which is licensed under the Mozilla Public License (MPLv2). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.