comparison configure @ 35904:cef5275fc11f

Avoid usage of obsolete and BSD-specific "struct timezone".
author diego
date Sun, 17 Mar 2013 22:47:31 +0000
parents f5023d8238ce
children 6796199fb62a
comparison
equal deleted inserted replaced
35903:389d43c448b3 35904:cef5275fc11f
4141 4141
4142 4142
4143 echocheck "gettimeofday()" 4143 echocheck "gettimeofday()"
4144 gettimeofday=yes 4144 gettimeofday=yes
4145 def_gettimeofday='#define HAVE_GETTIMEOFDAY 1' 4145 def_gettimeofday='#define HAVE_GETTIMEOFDAY 1'
4146 statement_check sys/time.h 'struct timeval tv; struct timezone tz; gettimeofday(&tv, &tz)' || 4146 statement_check_broken stddef.h sys/time.h 'struct timeval tv; gettimeofday(&tv, NULL)' ||
4147 { gettimeofday=no ; def_gettimeofday='#undef HAVE_GETTIMEOFDAY' ; } 4147 { gettimeofday=no ; def_gettimeofday='#undef HAVE_GETTIMEOFDAY' ; }
4148 echores "$gettimeofday" 4148 echores "$gettimeofday"
4149 4149
4150 4150
4151 echocheck "glob()" 4151 echocheck "glob()"