[libgpg-error PATCH] doc: if ever, depend on yat2m$(EXEEXT)

Michael Haubenwallner michael.haubenwallner at ssi-schaefer.com
Thu Jul 12 17:15:30 CEST 2018


Hello,

I've thought about EXEEXT for build too and found AC_PROG_CC_FOR_BUILD to
set $BUILD_EXEEXT, but because that was commented out in configure.ac I've
not followed that further, as I was not aware of AX_CC_FOR_BUILD at all.

So yes, your attempt looks good to me, thanks!

/haubi/

On 07/10/2018 04:12 AM, NIIBE Yutaka wrote:
> Hello,
> 
> Thanks for your patch.
> 
> Michael Haubenwallner <michael.haubenwallner at ssi-schaefer.com> writes:
>> * doc/Makefile.am (CROSS_COMPILING, HAVE_YAT2M): Set empty YAT2M_DEP.
>> (not CROSS_COMPILING): Ignore detected yat2m, use local one.  Use EXEEXT
>> in YAT2M_DEP rather than explicit '.exe' based on HAVE_W32_SYSTEM.
> 
> I agree that using EXEEXT is better than HAVE_W32_SYSTEM.  Also, I agree
> that we don't need to use detected yat2m for !CROSS_COMPILING.
> 
> Furthermore, I also think that the detection of yat2m on build system is
> not needed for CROSS_COMPILING now, because we can build
> yat2m-for-build.
> 
> Remaining problem is we need to have something like EXEEXT for build
> machine, so that we can support cross building on Windows (say, for
> POSIX machine).
> 
> Here is my attempt.  How do you think?
> 



More information about the Gnupg-devel mailing list