From xemacs-m  Tue May 27 04:04:44 1997
Received: from fw.omronsoft.co.jp (firewall-user@fw.omronsoft.co.jp [202.32.116.2])
	by xemacs.org (8.8.5/8.8.5) with ESMTP id EAA20894
	for <xemacs-beta@xemacs.org>; Tue, 27 May 1997 04:04:41 -0500 (CDT)
From: tsutomu@rs.kyoto.omronsoft.co.jp
Received: by fw.omronsoft.co.jp; id SAA24818; Tue, 27 May 1997 18:04:39 +0900 (JST)
Received: from gw.omronsoft.co.jp(133.122.28.11) by fw.omronsoft.co.jp via smap (V3.1)
	id xma024749; Tue, 27 May 97 18:04:22 +0900
Received: by gw.omronsoft.co.jp (8.6.12+2.4W/3.3W-gw2.960424) id SAA07232; Tue, 27 May 1997 18:04:21 +0900
Received: from osk_mail.hon.kyoto.omronsoft by gw.omronsoft.co.jp (8.6.12+2.4W/3.3W-gw.960928) id RAA06562; Tue, 27 May 1997 17:58:26 +0900
Received: by osk_mail.hon.kyoto.omronsoft.co.jp (5.65/6.4J.6-OMRONSOFT-Ver1.31-Hat)
	id AA18126; Tue, 27 May 97 17:56:14 +0900
Received: by hrs_mail.rs.kyoto.omronsoft.co.jp (5.65/6.4J.6-OMRONSOFT-Ver1.3)
	id AA02485; Tue, 27 May 97 17:58:54 +0900
Received: by hrs102.rs.kyoto.omronsoft.co.jp (5.65/6.4J.6-OMRONSOFT-Ver1.3)
	id AA06502; Tue, 27 May 97 17:57:52 +0900
Message-Id: <9705270857.AA06502@hrs102.rs.kyoto.omronsoft.co.jp>
To: xemacs-beta@xemacs.org
Subject: Improvement for Wnn4 auto detection
Date: Tue, 27 May 1997 17:50:31 +0900


 To make XEmacs + Wnn4 --with-wnn4=yes is necessary on last version.
I changed the following point:
Configure script detect Wnn4 without --with-wnn option, however
--site-includes and --site-libraries is still needed. Off course Wnn6
detection works.


sample A)
 XEmacs-20.3-b2 + Wnn4 ( --with-wnn=yes is necessary )
   configure --with-mule=yes --with-wnn=yes \
   --site-includes=$Wnn4_include_path \
   --site-libraries=$Wnn4_libraries_path

sample B)
 XEmacs-20.3-b2 + Wnn6 ( --with-wnn6=yes is unnecessary )
   configure --with-mule=yes \
   --site-includes=$Wnn6_include_path \
   --site-libraries=$Wnn6_libraries_path


sample A part2)
 XEmacs-20.3-b2 + my patch + Wnn4 ( --with-wnn=yes is unnecessary )
   configure --with-mule=yes \
   --site-includes=$Wnn4_include_path \
   --site-libraries=$Wnn4_libraries_path

sample B part2)
 XEmacs-20.3-b2 + my patch + Wnn6 ( --with-wnn6=yes is unnecessary )
   configure --with-mule=yes \
   --site-includes=$Wnn6_include_path \
   --site-libraries=$Wnn6_libraries_path


--- configure.in.orig	Mon May 26 19:24:32 1997
+++ configure.in	Mon May 26 19:34:22 1997
@@ -2419,7 +2419,7 @@
   dnl Autodetect WNN
   test "$with_wnn6" = "yes" && with_wnn=yes # wnn6 implies wnn support
   test -z "$with_wnn" && { AC_CHECK_HEADER(wnn/jllib.h, ,with_wnn=no) }
-  test -z "$with_wnn" && { AC_CHECK_LIB(wnn,jl_dic_list,[:],with_wnn=no) }
+  test -z "$with_wnn" && { AC_CHECK_LIB(wnn,jl_dic_list_e, ,with_wnn=no) }
   test -z "$with_wnn" && with_wnn=yes
   if test "$with_wnn" = "yes"; then
     AC_DEFINE(HAVE_WNN)

--
     |       |     |     __/_ ----
 +---+---+ --+-- --+--    (/   \/
 |   |   |  /|\    |      /\   /\      -=- TSUTOMU NAKAMURA -=-
 +---+---+ / |  _  |      --+---+       OMRON SOFTWARE Co., Ltd.
     |       |    _|     __/   _| mailto:tsutomu@rs.kyoto.omronsoft.co.jp

