Bruno Haible <[EMAIL PROTECTED]> writes: > Simon Josefsson wrote: >> gl_CHECK_NEXT_HEADERS([stdlib.h]) >> AC_CHECK_TYPES([struct random_data], [], [], [[#include <stdlib.h>]]) >> + if test $ac_cv_type_struct_random_data = yes; then >> + HAVE_STRUCT_RANDOM_DATA=1 >> + else >> + HAVE_STRUCT_RANDOM_DATA=0 >> + fi >> ]) > > Thanks. I'm adding this tweak to match the usual coding style: Initialize the > HAVE_STRUCT_RANDOM_DATA variable to 1, and set it to 0 when we see it's > missing. This looks pointless in this case, but is a useful convention when a > HAVE_* variable needs to be set to 0 at various places, for various possible > reasons (see e.g. REPLACE_CLOSE and gl_REPLACE_CLOSE).
I agree, thanks. /Simon
