Re: Autoconf --trace

2000-02-29 Thread Akim Demaille
Yeehaa, Yahoo, Yipee and the like! Well, there are some significant steps forward since yesterday :) Gosh, it feels good when m4 finally agrees to do what you wanted to :-) I have implemented support for $.@, which is [$1].[$2]. etc. (`.' is the separator, defaults to comma), and for $.*, whic

Re: @BKL@, @BKR@, etc.

2000-02-29 Thread Akim Demaille
> "Paul" == Paul Eggert <[EMAIL PROTECTED]> writes: Paul> No. E.g. grep's configure.in says: Paul> LIBOBJS=`echo $LIBOBJS|sed 's/\.o /\$U.o /g;s/\.o$/\$U.o/'` Paul> and bison's aclocal.m4 says: Paul> echo timestamp > `echo <<$>>am_file | sed -e 's%:.*%%' -e Paul> 's%[^/]*$%%'`stamp-h$

Re: xemacs configure script doesn't have AC_DEFINE

2000-02-29 Thread Akim Demaille
> "Olly" == Olly Betts <[EMAIL PROTECTED]> writes: Olly> If you ask someone in the UK to draw you a `pound sign' you'll Olly> get one of these: `£' (that's the British currency symbol in Olly> case something is eating high bits or you aren't reading this in Olly> latin1). And in fact the HTM

Re: Argh. config.guess breaks things

2000-02-29 Thread Ben Elliston
> BTW this problem doesn't just occur on RedHat Linux boxes without a C > compiler. I have a RedHat 6.1 box here which has gcc installed, but > only as `gcc' and not as `cc'. I'm not totally sure how it got this > way since the egcs rpm does have /usr/bin/cc in. I suspect I built > gcc-2.95.2 f

Re: Argh. config.guess breaks things

2000-02-29 Thread Paul D. Smith
%% Ben Elliston <[EMAIL PROTECTED]> writes: >> BTW this problem doesn't just occur on RedHat Linux boxes without a C >> compiler. I have a RedHat 6.1 box here which has gcc installed, but >> only as `gcc' and not as `cc'. I'm not totally sure how it got this >> way since the egcs rpm do

Re: passing command-line switches to compiler

2000-02-29 Thread CyberPsychotic
~ :The GNU binutils use this macro to detect this case: ~ : oh, by the way while playing with this macro I noticed a couple of problems : 1. `test $bfd_cv_decl_needed_$1` didn't work because $bfd_cv_decl_needed was considered as two shell variables $bfd_cv_decl_needed and $1, so I had to tweak it

Re: passing command-line switches to compiler

2000-02-29 Thread CyberPsychotic
~ :CyberPsychotic> am using autoconf 1.4.1 package (shipped with ~ :CyberPsychotic> r.h. 6.0) and this macro isn't defined there, starting ~ : ~ :Can you tell me who packaged Autoconf 2.14.1 (I guess that's what you ~ :meant). sure. it's Mandrake linux release 6.0, it's based on r.h. 6.0 package

Re: passing command-line switches to compiler

2000-02-29 Thread Ian Lance Taylor
Date: Wed, 1 Mar 2000 01:01:45 +0500 (KGT) From: CyberPsychotic <[EMAIL PROTECTED]> ~ :The GNU binutils use this macro to detect this case: ~ : oh, by the way while playing with this macro I noticed a couple of problems : 1. `test $bfd_cv_decl_needed_$1` didn't work because

Re: passing command-line switches to compiler

2000-02-29 Thread Eric Christopher
> sure. it's Mandrake linux release 6.0, it's based on r.h. 6.0 package > though, so redhat might have it too. > As a datapoint, none of the rh dists that i've tried (6.0, 6.1, 6.2 beta) have a listing or version string for autoconf >= 2.14. All of them are 2.13. -eric

Re: passing command-line switches to compiler

2000-02-29 Thread CyberPsychotic
~ :> sure. it's Mandrake linux release 6.0, it's based on r.h. 6.0 package ~ :> though, so redhat might have it too. ~ :> ~ :As a datapoint, none of the rh dists that i've tried (6.0, 6.1, 6.2 ~ :beta) have a listing or version string for autoconf >= 2.14. All of ~ :them are 2.13. hmm.. So it'

Re: passing command-line switches to compiler

2000-02-29 Thread Ian Lance Taylor
Date: Wed, 1 Mar 2000 02:59:56 +0500 (KGT) From: CyberPsychotic <[EMAIL PROTECTED]> AC_DEFINE_UNQUOTED([NEED_DECL_]translit($sn_decl, [a-z], [A-Z]), 1, [you have this cuz autoheader breaks things abit]) This won't work, because translit is an m4 construct, and $sn_

Re: passing command-line switches to compiler

2000-02-29 Thread CyberPsychotic
On 29 Feb 2000 out of nowhere Ian Lance Taylor spoke: ~ : ~ :I don't know what sort of playing around you were doing. here's exact piece which I made based on the macro you suggested: AC_DEFUN(SN_CHECK_DECL,[ AC_MSG_CHECKING([whether $1 must be declared]) AC_CACHE_VAL(sn_cv_decl_needed_$1, [AC_

Re: passing command-line switches to compiler

2000-02-29 Thread CyberPsychotic
~ : ~ :This won't work, because translit is an m4 construct, and $sn_decl is ~ :a shell variable. This will convert $sn_decl to $SN_DECL, and let the ~ :shell cope with that. oops.. yep. Noticed that :-\ Thanks. ~ :My macro won't work if you call it with a shell variable, so you can't ~ :call i

Re: passing command-line switches to compiler

2000-02-29 Thread Ian Lance Taylor
Date: Wed, 1 Mar 2000 03:29:17 +0500 (KGT) From: CyberPsychotic <[EMAIL PROTECTED]> ~ :Sorry, I wasn't suggesting that you upgrade to a new version of ~ :autoconf. I was suggesting that you pick up the new macro, and put it ~ :in your acinclude.m4 file, just as you are doing with

config.* files via FTP

2000-02-29 Thread Ben Elliston
These files are now checked out and placed in: ftp://ftp.gnu.org/pub/gnu/config/ You can use this as a means of getting the latest versions if you'd rather not bother with anonymous CVS. Ben