autoconf-patches
[Top][All Lists]
Advanced

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

Re: [PATCH] A better (?) _AC_EXEEXT


From: Morten Eriksen
Subject: Re: [PATCH] A better (?) _AC_EXEEXT
Date: 11 Oct 2000 12:51:34 +0200
User-agent: Gnus/5.070098 (Pterodactyl Gnus v0.98) Emacs/20.3

* Akim
| [...] Your patch, as is, does not solve [...]

I know, I know. I don't claim the patch to be perfect, I'm just saying
that it is _better_ than the code it replaces.  :^}

| [...] since AC_PROG_CC launches AC_EXEEXT which uses AC_LINK_IFELSE
| which requires AC_PROG_CC, autoconf should and will fail.  This is
| the circular dependency I'm referring to.
| 
| AC_LINK_IFELSE must keep its AC_REQUIRE on AC_PROG_CC, hence you
| must not use AC_LINK_IFELSE.  That's why I first suggested using
| AC_TRY_EVAL: to avoid the AC_REQUIRE.

Yes, I was aware of that problem -- I just can't think of a good way
to solve it at the moment.

| You may call AC_CANONICAL_TARGET (while AC_CANONICAL_HOST is more
| logical), but you must depend on the *_host variables, *not* the
| target vars.  See the doc for more details.

I think the attached patch will at least improve the situation a
little bit. I couldn't find anything from config.guess matching the
EMX/OS2 stuff, though.

Regards,
Morten

Attachment: win32chks.diff
Description: Text document


reply via email to

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