Re: Fix some tests to be g++ >= 2.95 safe

2000-03-03 Thread Akim Demaille
That's fine with me, but I still would like to know why you didn't prefer using the right includes. Akim

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

Re: passing command-line switches to compiler

2000-03-03 Thread Akim Demaille
> "Alexandre" == Alexandre Oliva <[EMAIL PROTECTED]> writes: Alexandre> On Mar 2, 2000, "Lars J. Aas" <[EMAIL PROTECTED]> wrote: >> define([m4_noquote], >> [changequote(-=<{,}>=-)$1-=<{}>=-changequote([,])]) >> That's my final offer :) Alexandre> I must say that I find this extremely ugly (

Re: DOS paths v2

2000-03-03 Thread Akim Demaille
| Hello all, Hi Mark, | Instead of offering a new revision of my previous patches on DOS-style | absolute paths and trying to get everything right, perhaps it would better to | just offer suggestions on how to treat DOS-style absolute paths as absolute | and leave the fixes to the Autoconf e

Re: Fix some tests to be g++ >= 2.95 safe

2000-03-03 Thread Franz Sirl
At 09:18 03.03.00, Akim Demaille wrote: >That's fine with me, but I still would like to know why you didn't >prefer using the right includes. Hmm, I think I stated that I simply don't know enough of autoconf to do it right, so I preferred to do a minimum patch that exactly shows which functions

Re: passing command-line switches to compiler

2000-03-03 Thread Lars J. Aas
On Fri, Mar 03, 2000 at 09:58:25AM +0100, Akim Demaille wrote: : > "Alexandre" == Alexandre Oliva <[EMAIL PROTECTED]> writes: : : Alexandre> On Mar 2, 2000, "Lars J. Aas" <[EMAIL PROTECTED]> wrote: : >> define([m4_noquote], : >> [changequote(-=<{,}>=-)$1-=<{}>=-changequote([,])]) : : Alexand

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

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: -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. = ---

divert resource management?

2000-03-03 Thread Lars J. Aas
I want to use diverts in some macros, and wonder if there is any divert management system for reserving/freeing divert numbers in autoconf (couldn't find any with a quick grep at least). The point is, if other macros are using diverts too, I don't want my diverts to clash with those diverts and v

Re: config.cache considered harmful

2000-03-03 Thread Martin Buchholz
I just discovered this post from jwz. (Jamie, I don't actually read the autoconf mailing list regularly - please cc me) >> I'm not proposing that the config.cache feature be removed, only that >> it not be made the _default_. > > Sounds reasonable to me. How about only enabling it when given

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: divert resource management?

2000-03-03 Thread Akim Demaille
> "Lars" == Lars J Aas <[EMAIL PROTECTED]> writes: Lars> I want to use diverts in some macros, and wonder if there is any Lars> divert management system for reserving/freeing divert numbers in Lars> autoconf (couldn't find any with a quick grep at least). The Lars> point is, if other macros

Re: Fix some tests to be g++ >= 2.95 safe

2000-03-03 Thread Akim Demaille
> "Franz" == Franz Sirl <[EMAIL PROTECTED]> writes: Franz> If you tell me how to do it right and platform-independent, I Franz> will happily come up with another patch. Just look for the right header on a sane system, and include it under the condition HAVE_foo_H. It is better to AC_CHECK_H

Re: divert resource management?

2000-03-03 Thread Akim Demaille
> "Lars" == Lars J Aas <[EMAIL PROTECTED]> writes: Lars> In my book, this would be Lars> m4_diversion_reserve([AC_DIVERSION_KILL], -1) ... Currently diversion are so little used that it'd be an overkill. Lars> Something along these lines would make me sleep better at night Lars> ;) How

Re: divert resource management?

2000-03-03 Thread Lars J. Aas
On Fri, Mar 03, 2000 at 04:05:57PM +0100, Akim Demaille wrote: : > "Lars" == Lars J Aas <[EMAIL PROTECTED]> writes: : : Lars> I want to use diverts in some macros, and wonder if there is any : Lars> divert management system for reserving/freeing divert numbers in : Lars> autoconf (couldn't fi

Re: divert resource management?

2000-03-03 Thread Lars J. Aas
On Fri, Mar 03, 2000 at 04:26:45PM +0100, Akim Demaille wrote: : > "Lars" == Lars J Aas <[EMAIL PROTECTED]> writes: : : Lars> In my book, this would be : : Lars> m4_diversion_reserve([AC_DIVERSION_KILL], -1) ... : : Currently diversion are so little used that it'd be an overkill. : : How

Re: divert resource management?

2000-03-03 Thread Akim Demaille
> "Lars" == Lars J Aas <[EMAIL PROTECTED]> writes: Lars> I'm just thinking of Autoconf - that's where my own macros have Lars> to cooperate with macros I don't know anything about. Overkill Lars> or not, such a resource management system wouldn't have to be Lars> very advanced... Right. Bu

Re: divert resource management?

2000-03-03 Thread Lars J. Aas
On Fri, Mar 03, 2000 at 05:21:35PM +0100, Akim Demaille wrote: : > "Lars" == Lars J Aas <[EMAIL PROTECTED]> writes: : Lars> I'm just thinking of Autoconf - that's where my own macros have : Lars> to cooperate with macros I don't know anything about. Overkill : Lars> or not, such a resource ma

Re: divert resource management?

2000-03-03 Thread Akim Demaille
> "Lars" == Lars J Aas <[EMAIL PROTECTED]> writes: Lars> I don't, yet. It was just something I was pondering on. I Lars> actually figured out a couple of other ways to do essentially Lars> the same thing, so I guess I won't be needing diversions... Right, diversions are not that powerful,

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: DOS paths v2

2000-03-03 Thread Mark E.
Also, one more item. In AC_OUTPUT_FILES, there is a sed command that should be reversed to keep filenames with colons in them (like c:/windows) from being affected. Would there be any adverse affects to the output if the colon replacement were done first? # Don't redirect the output to AC_F

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

latest testing

2000-03-03 Thread Erez Zadok
Akim, I checked today and found out that there have been updates to the autoconf cvs. When will the cvs-commit mailing list move to the new site so we can get notified immediately? Anyway, I ran the same tests on my Solaris 7 box, and only two things failed (debug-78 and -97) both b/c of the src

Re: DOS paths v2

2000-03-03 Thread Alexandre Oliva
On Mar 3, 2000, Akim Demaille <[EMAIL PROTECTED]> wrote: > | [/\\*] | [A-z]:[/\\*] > You probably mean > [/\\]* | [A-z]:[/\\]* ) Actually [/\\]* | [A-Za-z]:[/\\]* ) -- Alexandre Oliva http://www.ic.unicamp.br/~oliva/ Enjoy GuaranĂ¡ Cygnus Solutions, a Red Hat companyaoliva@{

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: DOS paths v2

2000-03-03 Thread akim demaille
> > On Mar 3, 2000, Akim Demaille <[EMAIL PROTECTED]> wrote: > > > | [/\\*] | [A-z]:[/\\*] > > > You probably mean > > > [/\\]* | [A-z]:[/\\]* ) > > Actually > > [/\\]* | [A-Za-z]:[/\\]* ) > My understanding was that Mark says there are characters in between Z and a which he wants to match

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: latest testing

2000-03-03 Thread akim demaille
> > Akim, I checked today and found out that there have been updates to the > autoconf cvs. When will the cvs-commit mailing list move to the new site so > we can get notified immediately? I just don't know. The subversions team, AFAIK, is working on it, but there is nothing yet running. > An

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: DOS paths v2

2000-03-03 Thread Mark E.
> > [/\\]* | [A-Za-z]:[/\\]* ) > > > My understanding was that Mark says there are characters in between Z > and a which he wants to match. > Right. DOS can in very rare cases have drive letters outside of [A-Za-z]. So [A-Za-z] will work 99.99% of the time under DOS and is fine with me (certa