From xemacs-m  Mon Jun 30 14:06:32 1997
Received: from jagor.srce.hr (hniksic@jagor.srce.hr [161.53.2.130])
	by xemacs.org (8.8.5/8.8.5) with ESMTP id OAA28012
	for <xemacs-beta@xemacs.org>; Mon, 30 Jun 1997 14:06:31 -0500 (CDT)
Received: (from hniksic@localhost)
          by jagor.srce.hr (8.8.5/8.8.4)
	  id VAA10589; Mon, 30 Jun 1997 21:06:30 +0200 (MET DST)
To: XEmacs Developers <xemacs-beta@xemacs.org>
Subject: Configure shortcomings
X-Attribution: Hrv
X-Face: Mie8:rOV<\c/~z{s.X4A{!?vY7{drJ([U]0O=W/<W*SMo/Mv:58:*_y~ki>xDi&N7XG
        KV^$k0m3Oe/)'e%3=$PCR&3ITUXH,cK>]bci&<qQ>Ff%x_>1`T(+M2Gg/fgndU%k*ft
        [(7._6e0n-V%|%'[c|q:;}td$#INd+;?!-V=c8Pqf}3J
From: Hrvoje Niksic <hniksic@srce.hr>
Date: 30 Jun 1997 21:06:30 +0200
Message-ID: <kigu3ifx64p.fsf@jagor.srce.hr>
Lines: 30
X-Mailer: Gnus v5.4.59/XEmacs 20.3(beta9) - "Sofia"

It seems to me that one of the recent configure additions got wrong
the semantics of `CC' and `CFLAGS' makefile variables.

First, when I used `--compiler=cc' to compile with SunPro CC[1], it
used `-xO4' by default.  I don't want that.  So I typed:

make CFLAGS=-g

...and got:  "cc -v -xO4 -g ..." (or something like that).  Unpleasant.

Then, I used

make CC=cc CFLAGS=-g

...but then puresize squeaked, and there it is, compiling alloc.c with 
-xO4.  Aaaaaaaaaaaargh!

So, pretty pretty please, could we really have that CC means the
compiler used, CFLAGS debugging/optimization flags, CPPFLAGS
preprocessor flags, etc.?


[1]
Have I ever told you that I cannot build XEmacs with union types with
gcc on Solaris.  Well, now you know it. :-)

-- 
Hrvoje Niksic <hniksic@srce.hr> | Student at FER Zagreb, Croatia
--------------------------------+--------------------------------
Idle RAM is the Devil's playground.

