From xemacs-m  Tue Jul 29 08:16:47 1997
Received: from wine.mickey.ai.kyutech.ac.jp (wine.mickey.ai.kyutech.ac.jp [131.206.21.99])
	by xemacs.org (8.8.5/8.8.5) with ESMTP id IAA29548
	for <xemacs-beta@xemacs.org>; Tue, 29 Jul 1997 08:16:45 -0500 (CDT)
Received: from wine.mickey.ai.kyutech.ac.jp (localhost.mickey.ai.kyutech.ac.jp [127.0.0.1])
	by wine.mickey.ai.kyutech.ac.jp (8.8.6/8.8.5) with ESMTP id WAA05280
	for <xemacs-beta@xemacs.org>; Tue, 29 Jul 1997 22:16:36 +0900 (JST)
To: xemacs-beta@xemacs.org
Subject: "Berlin" success on FreeBSD 3.0
Mime-Version: 1.0
From: Murata Shuuichirou <mrt@mickey.ai.kyutech.ac.jp>
X-Mailer: Mew version 1.55 on Emacs 20.0.91.6, Mule 3.0
Content-Type: Text/Plain; charset=ISO-2022-JP
Content-Transfer-Encoding: 7bit
Message-Id: <19970729221635W.mrt@wine.mickey.ai.kyutech.ac.jp>
Date: Tue, 29 Jul 1997 22:16:35 +0900
X-Dispatcher: impost version 0.99i (Apr. 6, 1997)
Lines: 65

"Berlin" success on FreeBSD 3.0 with following patch:

--- src/s/freebsd.h.org	Sun Jul 27 07:10:20 1997
+++ src/s/freebsd.h	Mon Jul 28 21:37:05 1997
@@ -35,7 +35,7 @@
 
 /* Kludge to work around setlocale(LC_ALL,...) not working after 01/1997 */
 #if __FreeBSD_version >= 199701
-#include <X11/Xlocale.h>
+/* #include <X11/Xlocale.h> */
 #define setlocale(locale_category, locale_spec) setlocale(LC_CTYPE, locale_spec)
 #endif
 
Why is there including of Xlocale.h?  This requires following line

env CPPFLAGS=-I/usr/X11R6/include ./configure ...

and causes some errors at the end of configuring phase.
In addition, it seems that current version of FreeBSD doesn't require
setlocale macro. So condition line should be changed to:

#if (__FreeBSD_version >= 199701) && (__FreeBSD_version < 300000)
-- 
$B$`$i$?$7$e$&$$$A$m$&(B

uname -a: FreeBSD ateken.mickey.ai.kyutech.ac.jp 3.0-CURRENT FreeBSD 3.0-CURRENT #11: Wed Jun 18 21:12:03 JST 1997     mrt@ateken.mickey.ai.kyutech.ac.jp:/usr/src/sys/compile/ateken  i386

./configure  '--with-mule' '--with-canna' '--cflags=-g -O2 -pipe' '--site-includes=/usr/local/include' '--site-libraries=/usr/local/lib'


Configured for `i386-unknown-freebsd3.0'.

  Where should the build process find the source code?    /amd/mickey02/mnt/eken/ateken/xemacs-20.3-b15
  What installation prefix should install use?		  /usr/local
  What operating system and machine description files should XEmacs use?
        `s/freebsd.h' and `m/intel386.h'
  What compiler should XEmacs be built with?              gcc -g -O2 -pipe
  Should XEmacs use the GNU version of malloc?            yes
  Should XEmacs use the relocating allocator for buffers? yes
  What window system should XEmacs use?                   x11
  Where do we find X Windows header files?                /usr/X11R6/include
  Where do we find X Windows libraries?                   /usr/X11R6/lib
  Additional header files:                                /usr/local/include
  Additional libraries:                                   /usr/local/lib
  Compiling in support for XAUTH.
  Compiling in support for GIF image conversion.
  Compiling in support for XPM images.
  Compiling in support for X-Face message headers.
  Compiling in support for JPEG image conversion.
  Compiling in support for PNG image conversion.
  Compiling in native sound support.
  Compiling in support for Berkeley DB.
  Compiling in support for GNU DBM.
  Compiling in Mule (multi-lingual) support.
  Compiling in support for Canna on Mule.
  Using Lucid menubars.
  Using Lucid scrollbars.
  Using Athena dialog boxes.
  movemail will use "flock" for locking mail spool files.
  WARNING: ---------------------------------------------------------
  WARNING: Compiling in support for runtime error checking.
  WARNING: XEmacs will run noticeably more slowly as a result.
  WARNING: Error checking is on by default for XEmacs beta releases.
  WARNING: ---------------------------------------------------------

