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

2000-03-01 Thread Akim Demaille
| Hi, Hi! CCed to Autoconf because there is an issue which we'll need to discuss (again). | the appended patch fixes some tests to produce correct results even | if compiled with the stricter checking of g++ >= 2.95. OK, you do speak of a C++ compiler and C tests :) Are you using CC=g++? U

Re: Argh. config.guess breaks things

2000-03-01 Thread Akim Demaille
> "Eric" == Eric Christopher <[EMAIL PROTECTED]> writes: Eric> This problem pretty much happens on any machine without a Eric> compiler installed. What would be ideal is if config.guess Eric> didn't require a compiler. Can it happen that one needs the information given by config.guess if sh

Re: Argh. config.guess breaks things

2000-03-01 Thread Ralf Corsepius
Akim Demaille wrote: > > "Eric" == Eric Christopher <[EMAIL PROTECTED]> writes: > > Eric> This problem pretty much happens on any machine without a > Eric> compiler installed. What would be ideal is if config.guess > Eric> didn't require a compiler. > > Can it happen that one needs the infor

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

2000-03-01 Thread Assar Westerlund
Akim Demaille <[EMAIL PROTECTED]> writes: > | BTW, config.guess and config.sub need synchronizing with the main repository. > > I think so to, but I don't know where the main repo is :( :pserver:[EMAIL PROTECTED]:/home/cvs module `config'. /assar

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

2000-03-01 Thread Akim Demaille
> "Assar" == Assar Westerlund <[EMAIL PROTECTED]> writes: Assar> :pserver:[EMAIL PROTECTED]:/home/cvs module `config'. Thanks!

Re: passing command-line switches to compiler

2000-03-01 Thread Lars J. Aas
On Mon, Feb 28, 2000 at 09:44:56PM +0100, Lars J. Aas wrote: : I agree with the example above, but I don't know how to get rid of my : changequotes unless there are any alternate methods to make strings with : m4-invocations inside a couple of []s? What I'm thinking of specifically : in my case i

Re: passing command-line switches to compiler

2000-03-01 Thread Lars J. Aas
I also found another use for the m4_noquote macro: define([TAB], [ ]) define([LF], [ ]) patsubst([$1],m4_noquote([[LF TAB]+]),[ ]) is a lot more readable than patsubst([$1],m4_noquote([[ ]+]),[ ]) Cheers, Lars J

Re: passing command-line switches to compiler

2000-03-01 Thread Akim Demaille
> "Lars" == Lars J Aas <[EMAIL PROTECTED]> writes: Lars> Any chance my little "m4_noquote"-macro will make it into Lars> autoconf? I like it. Send a patch! Akim

Re: passing command-line switches to compiler

2000-03-01 Thread Lars J. Aas
On Wed, Mar 01, 2000 at 04:02:40PM +0100, Lars J. Aas wrote: : patsubst([$1],m4_noquote([[LF TAB]+]),[ ]) : : is a lot more readable than : : patsubst([$1],m4_noquote([[ : ]+]),[ ]) ...by which I of course ment... patsubst([$1],[[ ]+]),[ ]) Come to think of it, I might a

Re: passing command-line switches to compiler

2000-03-01 Thread Akim Demaille
> "Lars" == Lars J Aas <[EMAIL PROTECTED]> writes: Lars> define([m4_noquote],[changequote(,)$1changequote([,])]) Actually there's a flow in your macro (untested, but it seems clear): just try with $1=foo, and I'll bet you'll get a nice foochangequote in the output. The solution, of course,

Re: passing command-line switches to compiler

2000-03-01 Thread Lars J. Aas
On Wed, Mar 01, 2000 at 06:43:41PM +0100, Akim Demaille wrote: : > "Lars" == Lars J Aas <[EMAIL PROTECTED]> writes: : : Lars> define([m4_noquote],[changequote(,)$1changequote([,])]) : : define([m4_noquote], : [changequote(,)changequote(-=<[{(,)}]>=-)$1-=<[{()}]>=-changequote([,])]) Even de

Re: passing command-line switches to compiler

2000-03-01 Thread Akim Demaille
> "Lars" == Lars J Aas <[EMAIL PROTECTED]> writes: Lars> On Wed, Mar 01, 2000 at 06:43:41PM +0100, Akim Demaille wrote: : Lars> > "Lars" == Lars J Aas <[EMAIL PROTECTED]> writes: : : Lars> Lars> define([m4_noquote],[changequote(,)$1changequote([,])]) : : Lars> define([m4_noquote], : Lars>

Re: passing command-line switches to compiler

2000-03-01 Thread Lars J. Aas
On Wed, Mar 01, 2000 at 07:41:58PM +0100, Akim Demaille wrote: : > "Lars" == Lars J Aas <[EMAIL PROTECTED]> writes: : Lars> Even : : Lars> define([m4_noquote], : Lars> [changequote(-=<[{(,)}]>=-)$1-=<[{()}]>=-changequote([,])]) : : Lars> would do the trick ;) : : I would say it wouldn't, si

Re: passing command-line switches to compiler

2000-03-01 Thread Akim Demaille
> "Lars" == Lars J Aas <[EMAIL PROTECTED]> writes: Lars> It would be nice to have a couple of m4 push/popquote macros... The idea seduced René, I've been faster than you on this one :P

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

2000-03-01 Thread Alexandre Oliva
On Mar 1, 2000, Akim Demaille <[EMAIL PROTECTED]> wrote: > | BTW, config.guess and config.sub need synchronizing with the main repository. > I think so to, but I don't know where the main repo is :( How come! Is Ben in your kill-file? :-) It's at subversions too, module config. -- Alexandr

Re: Argh. config.guess breaks things

2000-03-01 Thread Alexandre Oliva
On Mar 1, 2000, Akim Demaille <[EMAIL PROTECTED]> wrote: >> "Eric" == Eric Christopher <[EMAIL PROTECTED]> writes: Eric> This problem pretty much happens on any machine without a Eric> compiler installed. What would be ideal is if config.guess Eric> didn't require a compiler. > Can it happ

Copyright assignments

2000-03-01 Thread Russ Allbery
It occurred to me that revising autoscan to use the idioms and techniques of Perl 5 is going to be a significant change and that autoconf is probably one of the packages that requires a copyright assignment. If so, could someone point me at the forms? I'd better get that started, as postal mail

Re: Copyright assignments

2000-03-01 Thread Tom Tromey
Russ> It occurred to me that revising autoscan to use the idioms and Russ> techniques of Perl 5 is going to be a significant change and Russ> that autoconf is probably one of the packages that requires a Russ> copyright assignment. If so, could someone point me at the Russ> forms? I'd better get

Re: Copyright assignments

2000-03-01 Thread Russ Allbery
Tom Tromey <[EMAIL PROTECTED]> writes: > Russ> It occurred to me that revising autoscan to use the idioms and > Russ> techniques of Perl 5 is going to be a significant change and > Russ> that autoconf is probably one of the packages that requires a > Russ> copyright assignment. If so, could some