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 to remove

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 may be

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

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_HEADER

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 do you

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. But I'm

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 management

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, sometimes

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

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 each time

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 company

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. Akim

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 could contain

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.

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 is

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 (certainly