From 864c28e135b9aa6b66b1ccc36495a0d6be8b885e Mon Sep 17 00:00:00 2001 From: Rainer Orth Date: Tue, 14 Aug 2018 22:51:36 +0000 Subject: Include for getentropy on Solaris * configure.ac: Check for . * configure, config.h.in: Regenerate. * intrinsics/random.c [HAVE_SYS_RANDOM_H]: Include . From-SVN: r263543 --- libgfortran/configure | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'libgfortran/configure') diff --git a/libgfortran/configure b/libgfortran/configure index 42b4c0b..a583b67 100755 --- a/libgfortran/configure +++ b/libgfortran/configure @@ -2547,6 +2547,7 @@ $as_echo "$as_me: creating cache $cache_file" >&6;} fi as_fn_append ac_header_list " unistd.h" +as_fn_append ac_header_list " sys/random.h" as_fn_append ac_header_list " sys/time.h" as_fn_append ac_header_list " sys/times.h" as_fn_append ac_header_list " sys/resource.h" @@ -12513,7 +12514,7 @@ else lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 lt_status=$lt_dlunknown cat > conftest.$ac_ext <<_LT_EOF -#line 12516 "configure" +#line 12517 "configure" #include "confdefs.h" #if HAVE_DLFCN_H @@ -12619,7 +12620,7 @@ else lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 lt_status=$lt_dlunknown cat > conftest.$ac_ext <<_LT_EOF -#line 12622 "configure" +#line 12623 "configure" #include "confdefs.h" #if HAVE_DLFCN_H @@ -16184,6 +16185,8 @@ done + + inttype_headers=`echo inttypes.h sys/inttypes.h | sed -e 's/,/ /g'` acx_cv_header_stdint=stddef.h -- cgit v1.1