From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: windows build failure Date: Thu, 19 Sep 2013 17:24:09 +0300 Message-ID: <83wqmclwja.fsf@gnu.org> References: <83wqmeocl5.fsf@gnu.org> <83ioxynvpb.fsf@gnu.org> <87zjrae0q7.fsf@gmail.com> <83eh8mnu8h.fsf@gnu.org> <87ob7qdzxj.fsf@gmail.com> <83a9janq2l.fsf@gnu.org> <87bo3oew5i.fsf@gmail.com> Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1379600662 16005 80.91.229.3 (19 Sep 2013 14:24:22 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 19 Sep 2013 14:24:22 +0000 (UTC) Cc: emacs-devel@gnu.org To: Sean Sieger Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Sep 19 16:24:25 2013 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1VMf9b-0002KB-P5 for ged-emacs-devel@m.gmane.org; Thu, 19 Sep 2013 16:24:23 +0200 Original-Received: from localhost ([::1]:51453 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VMf9b-0002PL-AW for ged-emacs-devel@m.gmane.org; Thu, 19 Sep 2013 10:24:23 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:44609) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VMf9S-0002LH-Vj for emacs-devel@gnu.org; Thu, 19 Sep 2013 10:24:20 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VMf9N-0005YV-0r for emacs-devel@gnu.org; Thu, 19 Sep 2013 10:24:14 -0400 Original-Received: from mtaout20.012.net.il ([80.179.55.166]:57142) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VMf9M-0005YL-PH for emacs-devel@gnu.org; Thu, 19 Sep 2013 10:24:08 -0400 Original-Received: from conversion-daemon.a-mtaout20.012.net.il by a-mtaout20.012.net.il (HyperSendmail v2007.08) id <0MTD00500MH6OT00@a-mtaout20.012.net.il> for emacs-devel@gnu.org; Thu, 19 Sep 2013 17:24:07 +0300 (IDT) Original-Received: from HOME-C4E4A596F7 ([87.69.4.28]) by a-mtaout20.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0MTD005F7MO6R100@a-mtaout20.012.net.il>; Thu, 19 Sep 2013 17:24:07 +0300 (IDT) In-reply-to: <87bo3oew5i.fsf@gmail.com> X-012-Sender: halo1@inter.net.il X-detected-operating-system: by eggs.gnu.org: Solaris 10 X-Received-From: 80.179.55.166 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:163467 Archived-At: > From: Sean Sieger > Date: Thu, 19 Sep 2013 10:14:17 -0400 > > Eli Zaretskii writes: > > > HAVE_GETTIMEOFDAY = 1 > > REPLACE_GETTIMEOFDAY = 1 > > That's expected, but the question is why. > > The tests done on gettimeofday are in m4/gettimeofday.m4. Can you > spot, using config.log, which of the tests fail and forces > REPLACE_GETTIMEOFDAY to be set to 1? > > m4/gettimeofday.m4: > > if test $ac_cv_func_gettimeofday != yes; then > HAVE_GETTIMEOFDAY=0 > > config.log: > > ac_cv_func_gettimeofday=yes > > m4/gettimeofday.m4: > > elif test $gl_cv_func_gettimeofday_posix_signature != yes; then > REPLACE_GETTIMEOFDAY=1 > > config.log: > > gl_cv_func_gettimeofday_posix_signature=almost In the last "elif test" you show only part of the truth. The whole truth is this: if test $gl_cv_func_gettimeofday_posix_signature = almost; then gl_gettimeofday_timezone='struct timezone' elif test $gl_cv_func_gettimeofday_posix_signature != yes; then REPLACE_GETTIMEOFDAY=1 So "almost" does not trigger REPLACE_GETTIMEOFDAY=1, and the mystery is not resolved.