From xemacs-m  Sun May 18 07:43:39 1997
Received: from mercury.Sun.COM (mercury.Sun.COM [192.9.25.1])
	by xemacs.org (8.8.5/8.8.5) with SMTP id HAA02768
	for <xemacs-beta@xemacs.org>; Sun, 18 May 1997 07:43:38 -0500 (CDT)
Received: from Eng.Sun.COM ([129.146.1.25]) by mercury.Sun.COM (SMI-8.6/mail.byaddr) with SMTP id FAA06756 for <xemacs-beta@xemacs.org>; Sun, 18 May 1997 05:57:36 -0700
Received: from kindra.eng.sun.com by Eng.Sun.COM (SMI-8.6/SMI-5.3)
	id FAA12915; Sun, 18 May 1997 05:42:55 -0700
Received: from xemacs.eng.sun.com by kindra.eng.sun.com (SMI-8.6/SMI-SVR4)
	id FAA18009; Sun, 18 May 1997 05:42:59 -0700
Received: by xemacs.eng.sun.com (SMI-8.6/SMI-SVR4)
	id FAA09828; Sun, 18 May 1997 05:42:56 -0700
Date: Sun, 18 May 1997 05:42:56 -0700
Message-Id: <199705181242.FAA09828@xemacs.eng.sun.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
From: Martin Buchholz <mrb@Eng.Sun.COM>
To: Hrvoje Niksic <hniksic@srce.hr>
Cc: XEmacs Developers <xemacs-beta@xemacs.org>
Subject: 20.3-b1: SUCCESS (with tweaking) on sparc-sun-solaris2.5
In-Reply-To: <kigk9kxw01k.fsf@jagor.srce.hr>
References: <kigk9kxw01k.fsf@jagor.srce.hr>
X-Mailer: VM 6.31 under 20.2 XEmacs Lucid
Reply-To: Martin Buchholz <mrb@Eng.Sun.COM>

>>>>> "Hrv" == Hrvoje Niksic <hniksic@srce.hr> writes:

Hrv> The compilation broke because lisp.h tests for LONGBITS, which is in
Hrv> turn defined in terms of SIZEOF_LONG, which ends up being #defined to
Hrv> 0 in config.h.  I have no idea why.

SIZEOF_LONG = 0 is a sign that configure failed completely.  Check
config.log to figure out why.  Chances are the compile command line
was changed during configure so that all configure tests from a
certain point onward failed.  Try to figure out why.  Maybe it's wnn's 
config.h??

Hrvoje, how come you're not using --extra-verbose? (maybe it should be 
the default).

One of the most important outputs of configure is config.h.  I have a
script to compare config.h's between 20.2 and 20.3-b1:

Any output from this script should be regarded suspiciously.

Martin


: # -*-Perl-*-
eval 'exec perl -w -S $0 ${1+"$@"}' # Portability kludge
    if 0;
# Author: Martin Buchholz

($myName = $0) =~ s@.*/@@; $usage="
Usage: $myName file1 file2

Compare two config.h files.\n";

die $usage unless @ARGV == 2;
for (@ARGV) { -d $_ and s@/*$@/config.h@; }
for (@ARGV) { -r $_ or die "$_: $!\n"; }
die $usage if grep (! -r $_, @ARGV);
$f1 = shift();
$f2 = shift();

$t1 = "/tmp/${myName}-1-$$";
$t2 = "/tmp/${myName}-2-$$";
$MASSAGE = "grep '^#define' | \
  grep -v _H_PATH  | \
  grep -v _SWITCH_ | \
  grep -v XILDOFF  | \
  grep -v HAVE_XMU | \
  grep -v alloca   | \
  grep -v HAVE_INTTYPES_H   | \
  grep -v HAVE_LIBINTL      | \
  grep -v HAVE_NCURSES      | \
  grep -v 'MAIL_USE_.*LOCK' | \
  grep -v EMACS_VERSION     | \
  grep -v HAVE_SYSVIPC      | \
  grep -v HAVE_DATABASE     | \
  grep -v HAVE_GNU_DBM      | \
  grep -v HAVE_LIBDB        | \
  grep -v HAVE_LIBGDBM      | \
  sort";
system "cat $f1 | $MASSAGE > $t1";
system "cat $f2 | $MASSAGE > $t2";
system "diff -b $t1 $t2";

