Re: Overriding LN_S

2010-10-15 Thread Peter Rosin
[moving to autoconf-patc...@] Den 2010-09-07 16:47 skrev Eric Blake: On 09/05/2010 03:31 PM, Ralf Wildenhues wrote: Hi Eric, * Eric Blake wrote on Thu, Sep 02, 2010 at 10:47:59PM CEST: On 09/02/2010 02:43 PM, Ralf Wildenhues wrote: Well, we /should/ fix Autoconf to allow overriding, and at

Re: Overriding LN_S

2010-10-15 Thread Peter Rosin
Den 2010-10-15 19:51 skrev Ralf Wildenhues: Hi Peter, * Peter Rosin wrote on Fri, Oct 15, 2010 at 09:28:53AM CEST: I haven't actually tested the patch, but it seems trivial enough. Bzzt. You are just barely saved yourself by admitting it upfront! ;- Oooops. --- a/lib/m4sugar/m4sh.m4

Re: Overriding LN_S

2010-10-15 Thread Ralf Wildenhues
* Peter Rosin wrote on Fri, Oct 15, 2010 at 11:15:33PM CEST: Den 2010-10-15 19:51 skrev Ralf Wildenhues: With that fixed, I ran the testsuite on GNU/Linux once without LN_S set, once with export LN_S='cp -p', both successfully, but with LN_S=bla, the only failure is from the

Re: Overriding LN_S

2010-10-15 Thread Peter Rosin
[moving to autoconf-patc...@] Den 2010-09-07 16:47 skrev Eric Blake: On 09/05/2010 03:31 PM, Ralf Wildenhues wrote: Hi Eric, * Eric Blake wrote on Thu, Sep 02, 2010 at 10:47:59PM CEST: On 09/02/2010 02:43 PM, Ralf Wildenhues wrote: Well, we /should/ fix Autoconf to allow overriding, and at

Re: Macro to obtain kind parameter value in F90?

2010-10-15 Thread Rhys Ulerich
Hi Ralf, Can anyone recommend a macro for obtaining a kind parameter value in Fortran 90? Have you looked at the Autoconf Macro Archive? Nothing there jumped out as a good starting point. The check would be like AC_SIZEOF, but instead of returning the size it would return the kind

Testing for GCC-like attributes and compiler switches

2010-10-15 Thread Václav Haisman
Hi. I am having difficulty testing for compiler features like __declspec(dllimport) and switches like -Wall or -Werror. The problem has started like this. I wanted to test compiler for __declspec(dllimport) (for Windows) and if that fails for __attribute__((visibility(default))) (for *nix/GCC).

Re: Testing for GCC-like attributes and compiler switches

2010-10-15 Thread Mike Frysinger
On Friday, October 15, 2010 14:56:51 Václav Haisman wrote: I am having difficulty testing for compiler features like __declspec(dllimport) and switches like -Wall or -Werror. look at the autoconf-archive package. it has macros to help with testing for compiler switches and compiler

Re: Testing for GCC-like attributes and compiler switches

2010-10-15 Thread Andrew W. Nosenko
2010/10/15 Václav Haisman v.hais...@sh.cvut.cz: Hi. I am having difficulty testing for compiler features like __declspec(dllimport) and switches like -Wall or -Werror. The problem has started like this. I wanted to test compiler for __declspec(dllimport) (for Windows) and if that fails for

Re: Testing for GCC-like attributes and compiler switches

2010-10-15 Thread Andrew W. Nosenko
2010/10/16 Andrew W. Nosenko andrew.w.nose...@gmail.com: 2010/10/15 Václav Haisman v.hais...@sh.cvut.cz: Hi. I am having difficulty testing for compiler features like __declspec(dllimport) and switches like -Wall or -Werror. The problem has started like this. I wanted to test compiler for