You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@subversion.apache.org by Yasuhito FUTATSUKI <fu...@yf.bsdclub.org> on 2024/03/09 07:29:55 UTC

Re: Fix for "whether getcwd works" in configure.ac

(Cc: dev@subversion.apache.org, for notify that it is resolved)
Hello,

Good to know you could find right place to post.

Regards,

On 2024/03/09 7:23, Alexander Danilov wrote:
> Sorry,
> It was a patch for https://svn.apache.org/repos/asf/santuario/xml-security-cpp/trunk/configure.ac
> I think, I should have used dev@santuario.apache.org.
> 
> 
> 
> Yours sincerely,
> Danilov Alexander
> Alexander.Danilov@cma.se
> 
> ________________________________
> From: Yasuhito FUTATSUKI <fu...@yf.bsdclub.org>
> Sent: Tuesday, February 27, 2024 8:11:56 PM
> To: Alexander Danilov; dev@subversion.apache.org
> Subject: Re: Fix for "whether getcwd works" in configure.ac
> 
> Hello,
> 
> On 2024/02/27 23:21, Alexander Danilov via dev wrote:
>> Hello.
>>
>> Due to an error in configure.ac we've got a wrong C-code for testing "whether getcwd works":
>> In config.log:
>> conftest.c:29:18: error: initializer element is not constant
>>       char *cwd = getcwd(NULL, 0);
>>                   ^~~~~~
>> conftest.c:30:6: error: expected identifier or '(' before 'return'
>>       return (cwd != NULL) ? EXIT_SUCCESS : EXIT_FAILURE;
>>       ^~~~~~
>> configure:17623: $? = 1
>> configure: program exited with status 1
>> configure: failed program was:
> 
> <snip>
> 
> As long as I read Subversion's configure.ac, there does not exist such
> a test for getcwd().
> 
> Did you intend to post to some other mailing list than here,
> dev@subversion.apache.org ?
> 
> Regards,
> --
> Yasuhito FUTATSUKI <fu...@yf.bsdclub.org>

-- 
Yasuhito FUTATSUKI <fu...@yf.bsdclub.org>