Re: Help understanding AC_TRY_CPP

2000-03-06 Thread Akim Demaille
> "Ian" == Ian Lance Taylor <[EMAIL PROTECTED]> writes: Akim> I would like to understand why there are three `rm' while one Akim> seems way enough. It seems like the author took a special care Akim> to remove the conftest files before the user can touch them. Ian> I don't know. This is a g

Re: Help understanding AC_TRY_CPP

2000-03-03 Thread Ian Lance Taylor
From: Akim Demaille <[EMAIL PROTECTED]> Date: 03 Mar 2000 09:41:51 +0100 I would like to understand why there are three `rm' while one seems way enough. It seems like the author took a special care to remove the conftest files before the user can touch them. I don't know. This i

Re: Help understanding AC_TRY_CPP

2000-03-03 Thread akim demaille
> > On Mar 3, 2000, Akim Demaille <[EMAIL PROTECTED]> wrote: > > > I would like to understand why there are three `rm' while one seems > > way enough. It seems like the author took a special care to remove > > the conftest files before the user can touch them. > > Probably because user code c

Re: Help understanding AC_TRY_CPP

2000-03-03 Thread Alexandre Oliva
On Mar 3, 2000, Akim Demaille <[EMAIL PROTECTED]> wrote: > I would like to understand why there are three `rm' while one seems > way enough. It seems like the author took a special care to remove > the conftest files before the user can touch them. Probably because user code could contain othe

Re: Help understanding AC_TRY_CPP

2000-03-03 Thread Akim Demaille
> "Earnie" == Earnie Boyd <[EMAIL PROTECTED]> writes: Earnie> I'll investigate further. Most of my experience with autoconf Earnie> is with Cygwin and MinGW and I don't remember seeing anything Earnie> that detailed. Something I'd like to call a flaw with config.log is that it is cleared ea

Re: Help understanding AC_TRY_CPP

2000-03-03 Thread Earnie Boyd
I'll investigate further. Most of my experience with autoconf is with Cygwin and MinGW and I don't remember seeing anything that detailed. Earnie. --- Akim Demaille <[EMAIL PROTECTED]> wrote: > > "Earnie" == Earnie Boyd <[EMAIL PROTECTED]> writes: > > Earnie> config.log doesn't contain the

Re: Help understanding AC_TRY_CPP

2000-03-03 Thread Akim Demaille
> "Earnie" == Earnie Boyd <[EMAIL PROTECTED]> writes: Earnie> config.log doesn't contain the compilers failure if I remember Earnie> correctly. Only where in configure that it is. Hm, what do you mean? /tmp % cat configure.in AC_INIT AC_PROG_CC AC_TRY_COMPILE([int main () { syntax error}])

Re: Help understanding AC_TRY_CPP

2000-03-03 Thread Earnie Boyd
--- Akim Demaille <[EMAIL PROTECTED]> wrote: -8<- > If you want to check the various failures after configure was run, you > should browse config.log, that's its point. > config.log doesn't contain the compilers failure if I remember correctly. Only where in configure that it is. = ---

Re: Help understanding AC_TRY_CPP

2000-03-03 Thread Akim Demaille
> "Earnie" == Earnie Boyd <[EMAIL PROTECTED]> writes: Earnie> My vote would be to remove conftest at the front of the Earnie> script, if that's even necessary, and leave it for the user to Earnie> look at when script exists. Then let `make clean' handle the Earnie> removal of conftest. We m

Re: Help understanding AC_TRY_CPP

2000-03-03 Thread Earnie Boyd
--- Akim Demaille <[EMAIL PROTECTED]> wrote: > > Hi! > > Let's raise this question again, I'm really puzzled, and I'd like to > be explained what is going on. > -8<- > I would like to understand why there are three `rm' while one seems > way enough. It seems like the author took a special care

Help understanding AC_TRY_CPP

2000-03-03 Thread Akim Demaille
Hi! Let's raise this question again, I'm really puzzled, and I'd like to be explained what is going on. Below is the current AC_TRY_CPP, but other AC_TRY have more or less the same code. In particular, pay attention to the various `rm conftest'. | # AC_TRY_CPP(INCLUDES, [ACTION-IF-TRUE], [AC