On 02/19/2011 08:13 AM, Simon Josefsson wrote: > we should try to make gnulib's stdlib.h set RAND_MAX if it is not available > from the system's stdlib.h.
If it's cheap, that'd be fine, but if it's expensive to determine this at configure-time I don't see why. There aren't practical instances of programs that use (or would use) the stdlib module because they want RAND_MAX but at the same time they don't use random_r or rand or etc. If it's only a theoretical need, I wouldn't worry about it.