GNU bug report logs - #6792
24.0.50; at revision 100946 GNU Emacs with Xaw3d does not compile

Previous Next

Package: emacs;

Reported by: Peter Dyballa <Peter_Dyballa <at> Freenet.DE>

Date: Tue, 3 Aug 2010 22:09:02 UTC

Severity: normal

Found in version 24.0.50

Done: Chong Yidong <cyd <at> stupidchicken.com>

Bug is archived. No further changes may be made.

Full log


Message #14 received at 6792 <at> debbugs.gnu.org (full text, mbox):

From: Dan Nicolaescu <dann <at> gnu.org>
To: Peter Dyballa <Peter_Dyballa <at> Freenet.DE>
Cc: "Jan D." <jan.h.d <at> swipnet.se>, 6792 <at> debbugs.gnu.org
Subject: Re: bug#6792: 24.0.50;
	at revision 100946 GNU Emacs with Xaw3d does not compile
Date: Wed, 04 Aug 2010 12:43:11 -0400
Peter Dyballa <Peter_Dyballa <at> Freenet.DE> writes:

> Am 04.08.2010 um 08:50 schrieb Jan D.:
>
>> Why aren't you setting CFLAGS and LDFLAGS?
>
> Because last week or at least month this was not necessary.
>
>> That is the way it is supposed to be done, no need to modify any
>> configure script:
>>
>> % LDFLAGS=-L/sw/lib CFLAGS='-O2 -g -I/sw/include' ./configure ...
>
>
> Then why is the configure script setting for an internal use these
> GCC_TEST_OPTIONS without propagating them later to the compiler? By
> this means (failure) configure does its job in a different environment
> than the compiler, configure will find things working which
> *obviously* fail for the compiler. Or why was compilation set for
> Xaw3d? Certainly not because I demanded that and configure could *not*
> find it's there. This state isn't the purpose of the configure
> script...
>
>
> BTW, compilation also fails when GCC_TEST_OPTIONS is set for MacPorts'
> Xaw3d at the same statement(s). IMO the configure script is broken.
> I'm going to check whether it works at all for the default GTK
> interface.

It seems that support for GCC_TEST_OPTIONS was removed here:

revno: 100791
committer: Andreas Schwab <schwab <at> linux-m68k.org>
branch nick: emacs
timestamp: Mon 2010-07-12 16:16:38 +0200
message:
  Properly handle C_WARNINGS_SWITCH, PROFILING_CFLAGS, PROFILING_LDFLAGS
  
  * configure.in (C_WARNINGS_SWITCH, PROFILING_CFLAGS)
  (PROFILING_LDFLAGS): Substitute, don't add them to CFLAGS/LDFLAGS.
  (C_OPTIMIZE_SWITCH): Remove.
  (TEMACS_LDFLAGS2): Add ${PROFILING_LDFLAGS}.
  





This bug report was last modified 14 years and 180 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.