view modules/gettimeofday @ 15070:221318b8a54e

random_r: Move AC_LIBOBJ invocations to module description. * m4/random_r.m4 (gl_FUNC_RANDOM_R): Move AC_LIBOBJ and gl_PREREQ_RANDOM_R invocations from here... * modules/random_r (configure.ac): ... to here.
author Bruno Haible <bruno@clisp.org>
date Sat, 21 May 2011 17:50:27 +0200
parents 599acc01166d
children
line wrap: on
line source

Description:
gettimeofday() function: return current time.

Files:
lib/gettimeofday.c
m4/gettimeofday.m4

Depends-on:
sys_time

configure.ac:
gl_FUNC_GETTIMEOFDAY
if test $HAVE_GETTIMEOFDAY = 0 || test $REPLACE_GETTIMEOFDAY = 1; then
  AC_LIBOBJ([gettimeofday])
  gl_PREREQ_GETTIMEOFDAY
fi
gl_SYS_TIME_MODULE_INDICATOR([gettimeofday])

Makefile.am:

Include:
<sys/time.h>

License:
LGPLv2+

Maintainer:
Paul Eggert, Jim Meyering