emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: windows build failure


From: Eli Zaretskii
Subject: Re: windows build failure
Date: Thu, 19 Sep 2013 17:24:09 +0300

> From: Sean Sieger <address@hidden>
> Date: Thu, 19 Sep 2013 10:14:17 -0400
> 
> Eli Zaretskii <address@hidden> 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.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]