From xemacs-m  Thu May 29 05:40:53 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 FAA06636
	for <xemacs-beta@xemacs.org>; Thu, 29 May 1997 05:40:51 -0500 (CDT)
Received: (from hniksic@localhost)
          by jagor.srce.hr (8.8.5/8.8.4)
	  id MAA03543; Thu, 29 May 1997 12:40:49 +0200 (MET DST)
To: XEmacs Developers <xemacs-beta@xemacs.org>
Subject: Digital cc: the saga continues
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
X-NSA-Fodder: Marxist Vince Foster Saddam Hussein South Africa Clinton
From: Hrvoje Niksic <hniksic@srce.hr>
Date: 29 May 1997 12:40:43 +0200
Message-ID: <kign2pesgr7.fsf@jagor.srce.hr>
Lines: 50
X-Mailer: Gnus v5.4.52/XEmacs 20.2

Andrews, thanks for the getopt* hint.

Now compilation failed due to defining HAVE_INLINE to 1 in config.h.
config.log sez:

configure:6748: checking for inline
configure:6760: cc -c -g    -I/usr/local/include  -std -D_BSD  -I/usr/dt/include
  conftest.c 1>&5
cc: Error: configure, line 6756: Invalid declaration.
} inline foo() {
---------^
configure: failed program was:
#line 6753 "configure"
#include "confdefs.h"

int main() {
} inline foo() {
; return 0; }
configure:6760: cc -c -g    -I/usr/local/include  -std -D_BSD  -I/usr/dt/include
  conftest.c 1>&5
cc: Error: configure, line 6756: Invalid declaration.
} __inline__ foo() {
-------------^
configure: failed program was:
#line 6753 "configure"
#include "confdefs.h"

int main() {
} __inline__ foo() {
; return 0; }
configure:6760: cc -c -g    -I/usr/local/include  -std -D_BSD  -I/usr/dt/include
  conftest.c 1>&5

But still, config.h contains:

#define HAVE_INLINE 1

Changing it to #undef HAVE_INLINE enables compilation.  The
compilation proceeded without warnings (clap, clap!)  Even the
-lcurses was linked in correctly (which didn't happen with gcc).

However, the TTY XEmacs didn't work correctly -- it thought the device
was much wider than it actually was -- so I had to change `-lcurses'
to `-ltermcap'.  With `-ltermcap' everything works correctly.

-- 
Hrvoje Niksic <hniksic@srce.hr> | Student at FER Zagreb, Croatia
--------------------------------+--------------------------------
Thou Who might be our Father Who perhaps may be in Heaven...
                                                -- Roger Zelazny

