Received: from makus.postgresql.org (makus.postgresql.org [98.129.198.125]) by mail.postgresql.org (Postfix) with ESMTP id 634911FA2A4E for ; Thu, 26 Jul 2012 13:41:36 -0300 (ADT) Received: from sss.pgh.pa.us ([66.207.139.130]) by makus.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1SuR83-0007LF-9f for pgsql-bugs@postgresql.org; Thu, 26 Jul 2012 16:41:36 +0000 Received: from sss2.sss.pgh.pa.us (tgl@localhost [127.0.0.1]) by sss.pgh.pa.us (8.14.5/8.14.5) with ESMTP id q6QGfJ5B008113; Thu, 26 Jul 2012 12:41:20 -0400 (EDT) From: Tom Lane To: Jez Wain cc: Alvaro Herrera , Pg Bugs Subject: Re: BUG #6758: ./configure script sets HAVE_WCSTOMBS_L 1 In-reply-to: <55741DAD-13E7-4EE1-BF63-C9155859CA0D@bull.net> References: <1343232691-sup-4900@alvh.no-ip.org> <55741DAD-13E7-4EE1-BF63-C9155859CA0D@bull.net> Comments: In-reply-to Jez Wain message dated "Thu, 26 Jul 2012 11:13:03 +0200" Date: Thu, 26 Jul 2012 12:41:19 -0400 Message-ID: <8112.1343320879@sss.pgh.pa.us> X-Pg-Spam-Score: -1.9 (-) X-Archive-Number: 201207/209 X-Sequence-Number: 33685 Jez Wain writes: > On the v11 neither mbstowcs_l nor wcstombs_l are defined. On the v12, both are. So to answer the question posed on the archive link you provided, the assumption made by your configure script appears to be valid. This points to there being a problem in the way the presence of these APIs is detected in the configure script. OK, now we understand what we're dealing with at least. Can you look into why mbstowcs_l is misdetected on v11? The portion of config.log where configure is probing for that function might be illuminating. regards, tom lane