autoconf-patches
[Top][All Lists]
Advanced

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

Re: EXEEXT: `cc -o' (Was: AC_CYGWIN etc.)


From: Mo DeJong
Subject: Re: EXEEXT: `cc -o' (Was: AC_CYGWIN etc.)
Date: Fri, 15 Dec 2000 13:09:55 -0800 (PST)

On 15 Dec 2000, Akim Demaille wrote:

> Here is my updated proposal.
> 
> Index: ChangeLog
> from  Akim Demaille  <address@hidden>, Mo DeJong  <address@hidden>
> 
>       * aclang.m4 (_AC_COMPILER_EXEEXT_DEFAULT): New.
>       (_AC_COMPILER_EXEEXT_O): Extracted from...
>       (_AC_COMPILER_EXEEXT): here.  Adjust.

I have to wonder why you are setting the ac_exe_ext again
in _AC_COMPILER_EXEEXT_O? I mean, if the _AC_COMPILER_EXEEXT_DEFAULT
macro finds .exe as the suffix, why would you need to run
"gcc -o prog.exe foo.c" again and reset the suffix to .exe?

If the _AC_COMPILER_EXEEXT_O macro is only meant to check that
compiling with the suffix found in _AC_COMPILER_EXEEXT_DEFAULT works,
then why should it set the suffix again (and possibly get it wrong)?

Mo DeJong
Red Hat Inc



reply via email to

[Prev in Thread] Current Thread [Next in Thread]