Re: 1.5.18: suppressing non-C language checks / pass flags to cc in link mode

2005-11-28 Thread Paul Jakma
On Tue, 29 Nov 2005, Ralf Wildenhues wrote: Nono. You are missing the fact that Autoconf will put this in @DEFS@ if AC_CONFIG_HEADERS has not been used. Ah! :) Surely noone would pass those to a link command, right? ;-) (I mean even if they don't use Automake.) Hehe, hope not! ;) You ar

Re: 1.5.18: suppressing non-C language checks / pass flags to cc in link mode

2005-11-28 Thread Ralf Wildenhues
Hi Paul, * Paul Jakma wrote on Tue, Nov 29, 2005 at 05:01:26AM CET: > On Sun, 27 Nov 2005, Ralf Wildenhues wrote: > > >As in > >-DPACKAGE_STRING=\"foo\ 0.1\" > >for example? Granted, I don't know of so many linker flags which need > >this. > > Ouch, that's fairly nasty. If someone wants to do t

Re: 1.5.18: suppressing non-C language checks / pass flags to cc in link mode

2005-11-28 Thread Paul Jakma
On Sun, 27 Nov 2005, Ralf Wildenhues wrote: I hoped you would not say that.. ;-) :). It's a bad header. It's described slightly differently by DJB and an old DRUMS draft. Of the MUAs which interpret it, their actions seems to differ. Those MUAs should stop supporting it really. Anyway, a m

Re: 1.5.18: suppressing non-C language checks / pass flags to cc in link mode

2005-11-27 Thread Ralf Wildenhues
Hi Paul, * Paul Jakma wrote on Sat, Nov 26, 2005 at 02:00:03PM CET: On Sat, 26 Nov 2005, Ralf Wildenhues wrote: >[ BTW, Paul, I believe you mail setup is a bit broken. Please do not >set Mail-Followup-To: to your mail address only, if you want the mailing >list to be included. At least mutt

Re: 1.5.18: suppressing non-C language checks / pass flags to cc in link mode

2005-11-27 Thread Mike Frysinger
On Sun, Nov 27, 2005 at 09:15:12AM +0100, Ralf Wildenhues wrote: > * Mike Frysinger wrote on Sat, Nov 26, 2005 at 09:40:43PM CET: > > - do not error out if C++ is not detected and C++ is not required > > Yes, works in HEAD. > > > - do not even include extraneous language checks (CXX/F77/GCJ) > >

Re: 1.5.18: suppressing non-C language checks / pass flags to cc in link mode

2005-11-27 Thread Ralf Wildenhues
* Mike Frysinger wrote on Sat, Nov 26, 2005 at 09:40:43PM CET: > On Sat, Nov 26, 2005 at 12:06:40PM -0800, Howard Chu wrote: > > Mike Frysinger wrote: > > >On Sat, Nov 26, 2005 at 02:16:18PM -0500, Daniel Reed wrote: > > >>On Sat, 26 Nov 2005, Mike Frysinger wrote: > > >>>On Sat, Nov 26, 2005 at 06

Re: 1.5.18: suppressing non-C language checks / pass flags to cc in link mode

2005-11-26 Thread Mike Frysinger
On Sat, Nov 26, 2005 at 12:06:40PM -0800, Howard Chu wrote: > Mike Frysinger wrote: > >On Sat, Nov 26, 2005 at 02:16:18PM -0500, Daniel Reed wrote: > >>On Sat, 26 Nov 2005, Mike Frysinger wrote: > >>>On Sat, Nov 26, 2005 at 06:17:10AM +, Paul Jakma wrote: > I tried to upgrade to a 1.5.18 in

Re: 1.5.18: suppressing non-C language checks / pass flags to cc in link mode

2005-11-26 Thread Howard Chu
Mike Frysinger wrote: On Sat, Nov 26, 2005 at 02:16:18PM -0500, Daniel Reed wrote: On Sat, 26 Nov 2005, Mike Frysinger wrote: On Sat, Nov 26, 2005 at 06:17:10AM +, Paul Jakma wrote: I tried to upgrade to a 1.5.18 in order to see if Problem 1 had been addressed at all (i had been using 1.5.

Re: 1.5.18: suppressing non-C language checks / pass flags to cc in link mode

2005-11-26 Thread Mike Frysinger
On Sat, Nov 26, 2005 at 02:16:18PM -0500, Daniel Reed wrote: > On Sat, 26 Nov 2005, Mike Frysinger wrote: > >On Sat, Nov 26, 2005 at 06:17:10AM +, Paul Jakma wrote: > >>I tried to upgrade to a 1.5.18 in order to see if Problem 1 had been > >>addressed at all (i had been using 1.5.6 i think - pe

Re: 1.5.18: suppressing non-C language checks / pass flags to cc in link mode

2005-11-26 Thread Daniel Reed
On Sat, 26 Nov 2005, Mike Frysinger wrote: On Sat, Nov 26, 2005 at 06:17:10AM +, Paul Jakma wrote: I tried to upgrade to a 1.5.18 in order to see if Problem 1 had been addressed at all (i had been using 1.5.6 i think - perhaps with some m4 files from CVS circa 2004 which dont have this probl

Re: 1.5.18: suppressing non-C language checks / pass flags to cc in link mode

2005-11-26 Thread Paul Jakma
On Sat, 26 Nov 2005, Ralf Wildenhues wrote: [ BTW, Paul, I believe you mail setup is a bit broken. Please do not set Mail-Followup-To: to your mail address only, if you want the mailing list to be included. At least mutt needs manual override for this. ] Sure, just point me to an RFC describ

Re: 1.5.18: suppressing non-C language checks / pass flags to cc in link mode

2005-11-26 Thread Ralf Wildenhues
[ BTW, Paul, I believe you mail setup is a bit broken. Please do not set Mail-Followup-To: to your mail address only, if you want the mailing list to be included. At least mutt needs manual override for this. ] * Paul Jakma wrote on Sat, Nov 26, 2005 at 11:28:05AM CET: > On Sat, 26 Nov 2005, Ral

Re: 1.5.18: suppressing non-C language checks / pass flags to cc in link mode

2005-11-26 Thread Paul Jakma
Hi Ralf, On Sat, 26 Nov 2005, Ralf Wildenhues wrote: Well, in a way libtool *cannot* allow all flags through, and thus *has* to know about them. At least it has to know whether a certain flag eats an argument or not. Well, one simple trick at least would be if: -XCClink "x y z" wo

Re: 1.5.18: suppressing non-C language checks / pass flags to cc in link mode

2005-11-26 Thread Ralf Wildenhues
Hi Paul, Mike, * Paul Jakma wrote on Sat, Nov 26, 2005 at 07:17:10AM CET: > > Is there any sane way to have libtool pass on CFLAGS to cc in link > mode? > > Libtool seems to trust it's own knowledge of what CFLAGS the compiler > should use in link mode beyond anything supplied by the user in

Re: 1.5.18: suppressing non-C language checks / pass flags to cc in link mode

2005-11-26 Thread Mike Frysinger
On Sat, Nov 26, 2005 at 06:17:10AM +, Paul Jakma wrote: > Problem 2: > > I tried to upgrade to a 1.5.18 in order to see if Problem 1 had been > addressed at all (i had been using 1.5.6 i think - perhaps with some > m4 files from CVS circa 2004 which dont have this problem). However, > I fou