From xemacs-m  Fri Aug  1 08:00:10 1997
Received: from inf.enst.fr (HOpNFTw+gm6wpbIQWa/YWbVChtD4Q7YA@inf.enst.fr [137.194.2.81])
	by xemacs.org (8.8.5/8.8.5) with ESMTP id IAA01038
	for <xemacs-beta@xemacs.org>; Fri, 1 Aug 1997 08:00:10 -0500 (CDT)
Received: from metheny.enst.fr (metheny.enst.fr [137.194.160.27])
          by inf.enst.fr (8.8.4/8.8.4) with ESMTP
	  id OAA15316 for <xemacs-beta@xemacs.org>; Fri, 1 Aug 1997 14:59:57 +0200 (MET DST)
Received: (from verna@localhost)
          by metheny.enst.fr (8.8.4/8.8.4)
	  id OAA21618; Fri, 1 Aug 1997 14:59:52 +0200 (MET DST)
Date: Fri, 1 Aug 1997 14:59:52 +0200 (MET DST)
Message-Id: <199708011259.OAA21618@metheny.enst.fr>
From: Didier Verna <verna@inf.enst.fr>
MIME-Version: 1.0
To: xemacs-beta@xemacs.org
Subject: Budapest configure problem (wnn)
X-Mailer: VM 6.33 under 20.3 "Budapest" XEmacs  Lucid (beta16)
Reply-To: verna@inf.enst.fr
X-Attribution: Did
X-Url: http://www-inf.enst.fr/~verna/
X-Face: 6o|eiKqaHN.ANh8HXDzntcWUOCg\]RsOd.ctvm~*y}Y^R&*a+Co,\s#=HWsw3x$b_n2kJ#g
 (7u?J^@^xP)f,jUF|0Z'J:|G/bMA5O12*b,7`-Q`=pKsCRIpso07.Y>YB2H{7`?u&yh;C_ZtLHfj<!
 $J=.i&Al'?,ax]MZd4tcm)_wF3$n*:f/lgS.;?Jr3T;Fl^q<qP**'tw
X-Face: |j}\)O|k##MrRz#VK$Jy=0r=3Qc,,a/Tr6*JQbE73dy17]<u3$*$]4O\1|h\|O\EDT9d$n+
 MTB{U&>2YcmW$9Z&H21e}#~#pgc>dn(is5Bv1l!{1re+Q9suKIOUmOqZs2>QMxHlR;;}kaGYA@HR3D
 C6
Content-Type: text/plain; charset=US-ASCII


		Now, here's the problem:

	I configured '--with-wnn' by mistake (I don't have it). However,
the configuration process didn't complain, went through the whole thing,
and the report includes this:

>  Compiling in support for the WNN input method on Mule.

	Now, the compilation fails for the very first target, because of an
artefact (gettimeofday redifined with another prototype).

	What happens is that after the check for -lwnn (which fails),

> configure:7169: checking for jl_fi_dic_list in -lwnn
> configure:7185: gcc -o conftest -g -O2 -Wall -Wno-switch  [...]
> ld: fatal: library -lwnn: not found
> ld: fatal: library -lwnn: not found
> ld: fatal: File processing errors.  No output written to conftest

all subsequent checks are *still* done with -lwnn too, and thus fail too.

        `	When I don't specify '--with-wnn' (then it's checked 
       / |	automagically right ?) the problem dosen't occur.
      /  /
      `||
       ||		So, shouldn't 'configure' complain *and abort*
       ||	if this option is given, but the lib is not found ?
       ||
   _   ||
  //|  ||
  || \_||
   \\           Didier Verna
   //  __
  //  {__}   E.N.S.T. INF C-214        http://www-inf.enst.fr/~verna/
 ||    __      46 rue Barrault            mailto:verna@inf.enst.fr
 \\   {__}   75634 Paris  cedex 13       Tel.   (33) 01 45 81 80 72
  \\
   ``----         France

