view modules/random_r @ 16063:c3b6b5b6bc32

More conditional dependencies. * modules/faccessat (Depends-on): Add conditions. * modules/fchmodat (Depends-on): Likewise. * modules/fchownat (Depends-on): Likewise. * modules/fstatat (Depends-on): Likewise. * modules/mkfifoat (Depends-on): Likewise. * modules/readlinkat (Depends-on): Likewise. * modules/symlinkat (Depends-on): Likewise. * modules/unlinkat (Depends-on): Likewise. * modules/utimensat (Depends-on): Likewise. * modules/mkdirat (Depends-on): Add sys_stat. Add conditions. * modules/linkat (Depends-on): Refine the conditions. * modules/renameat (Depends-on): Likewise.
author Bruno Haible <bruno@clisp.org>
date Wed, 09 Nov 2011 02:42:45 +0100
parents 221318b8a54e
children 58a55a7ffba8
line wrap: on
line source

Description:
reentrant random number generator

Files:
lib/random_r.c
m4/random_r.m4

Depends-on:
stdlib
stdint

configure.ac:
gl_FUNC_RANDOM_R
if test $HAVE_RANDOM_R = 0; then
  AC_LIBOBJ([random_r])
  gl_PREREQ_RANDOM_R
fi
gl_STDLIB_MODULE_INDICATOR([random_r])

Makefile.am:

Include:
<stdlib.h>

License:
LGPLv2+

Maintainer:
Jim Meyering, glibc