From 37e9f18266e768ad93243fd34f9046c260b3096b Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Sun, 18 Apr 2021 21:50:07 -0400 Subject: [PATCH] sim: switch to AC_CHECK_FUNCS_ONCE & merge a little This avoids duplicate tests for functions between common m4, arches, and any other sources that would trigger func tests. Also manually delete known duplicate function tests between the m4, bfin, and v850 ports. --- sim/ChangeLog | 5 ++ sim/aarch64/ChangeLog | 4 ++ sim/aarch64/configure | 73 +++++++++++++++-------- sim/arm/ChangeLog | 4 ++ sim/arm/configure | 73 +++++++++++++++-------- sim/avr/ChangeLog | 4 ++ sim/avr/configure | 73 +++++++++++++++-------- sim/bfin/ChangeLog | 6 ++ sim/bfin/configure | 106 +++++++++++++++++++++++----------- sim/bfin/configure.ac | 2 +- sim/bpf/ChangeLog | 4 ++ sim/bpf/configure | 73 +++++++++++++++-------- sim/cr16/ChangeLog | 4 ++ sim/cr16/configure | 73 +++++++++++++++-------- sim/cris/ChangeLog | 4 ++ sim/cris/configure | 73 +++++++++++++++-------- sim/d10v/ChangeLog | 4 ++ sim/d10v/configure | 73 +++++++++++++++-------- sim/erc32/ChangeLog | 4 ++ sim/erc32/configure | 73 +++++++++++++++-------- sim/example-synacor/ChangeLog | 4 ++ sim/example-synacor/configure | 73 +++++++++++++++-------- sim/frv/ChangeLog | 4 ++ sim/frv/configure | 73 +++++++++++++++-------- sim/ft32/ChangeLog | 4 ++ sim/ft32/configure | 73 +++++++++++++++-------- sim/h8300/ChangeLog | 4 ++ sim/h8300/configure | 73 +++++++++++++++-------- sim/iq2000/ChangeLog | 4 ++ sim/iq2000/configure | 73 +++++++++++++++-------- sim/lm32/ChangeLog | 4 ++ sim/lm32/configure | 73 +++++++++++++++-------- sim/m32c/ChangeLog | 4 ++ sim/m32c/configure | 73 +++++++++++++++-------- sim/m32r/ChangeLog | 4 ++ sim/m32r/configure | 73 +++++++++++++++-------- sim/m4/sim_ac_common.m4 | 14 ++++- sim/m68hc11/ChangeLog | 4 ++ sim/m68hc11/configure | 73 +++++++++++++++-------- sim/mcore/ChangeLog | 4 ++ sim/mcore/configure | 73 +++++++++++++++-------- sim/microblaze/ChangeLog | 4 ++ sim/microblaze/configure | 73 +++++++++++++++-------- sim/mips/ChangeLog | 4 ++ sim/mips/configure | 73 +++++++++++++++-------- sim/mn10300/ChangeLog | 4 ++ sim/mn10300/configure | 73 +++++++++++++++-------- sim/moxie/ChangeLog | 4 ++ sim/moxie/configure | 73 +++++++++++++++-------- sim/msp430/ChangeLog | 4 ++ sim/msp430/configure | 73 +++++++++++++++-------- sim/or1k/ChangeLog | 4 ++ sim/or1k/configure | 73 +++++++++++++++-------- sim/pru/ChangeLog | 4 ++ sim/pru/configure | 73 +++++++++++++++-------- sim/riscv/ChangeLog | 4 ++ sim/riscv/configure | 73 +++++++++++++++-------- sim/rl78/ChangeLog | 4 ++ sim/rl78/configure | 73 +++++++++++++++-------- sim/rx/ChangeLog | 4 ++ sim/rx/configure | 73 +++++++++++++++-------- sim/sh/ChangeLog | 4 ++ sim/sh/configure | 73 +++++++++++++++-------- sim/v850/ChangeLog | 6 ++ sim/v850/configure | 100 +++++++++++++++++++++----------- sim/v850/configure.ac | 2 +- 66 files changed, 1675 insertions(+), 799 deletions(-) diff --git a/sim/ChangeLog b/sim/ChangeLog index f25e8347ff8..6ee80b4909d 100644 --- a/sim/ChangeLog +++ b/sim/ChangeLog @@ -1,3 +1,8 @@ +2021-04-18 Mike Frysinger + + * m4/sim_ac_common.m4: Change AC_CHECK_FUNCS to AC_CHECK_FUNCS_ONCE, + merge calls, and sort args. + 2021-04-03 Mike Frysinger * configure.ac: Add --example-sims option. diff --git a/sim/aarch64/ChangeLog b/sim/aarch64/ChangeLog index be8cafb5b38..5666449311b 100644 --- a/sim/aarch64/ChangeLog +++ b/sim/aarch64/ChangeLog @@ -1,3 +1,7 @@ +2021-04-18 Mike Frysinger + + * configure: Regenerate. + 2021-04-12 Mike Frysinger * interp.c (sim_open): Delete 3rd arg to sim_cpu_alloc_all. diff --git a/sim/aarch64/configure b/sim/aarch64/configure index bb1e6296c96..aec76c875cd 100755 --- a/sim/aarch64/configure +++ b/sim/aarch64/configure @@ -629,6 +629,7 @@ ac_includes_default="\ # include #endif" +ac_func_list= ac_subst_vars='LTLIBOBJS LIBOBJS sim_reserved_bits @@ -2288,6 +2289,16 @@ $as_echo "$as_me: creating cache $cache_file" >&6;} >$cache_file fi +as_fn_append ac_func_list " __setfpucw" +as_fn_append ac_func_list " ftruncate" +as_fn_append ac_func_list " getrusage" +as_fn_append ac_func_list " lstat" +as_fn_append ac_func_list " mmap" +as_fn_append ac_func_list " munmap" +as_fn_append ac_func_list " posix_fallocate" +as_fn_append ac_func_list " sigaction" +as_fn_append ac_func_list " time" +as_fn_append ac_func_list " truncate" # Check that the precious variables saved in the cache have kept the same # value. ac_cache_corrupted=false @@ -3861,6 +3872,41 @@ fi rmdir .tst 2>/dev/null DEPDIR="${am__leading_dot}deps" + + + + + for ac_func in $ac_func_list +do : + as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` +ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" +if eval test \"x\$"$as_ac_var"\" = x"yes"; then : + cat >>confdefs.h <<_ACEOF +#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 +_ACEOF + +fi +done + + + + + + + + + + + + + + + + + + + + case `pwd` in *\ * | *\ *) @@ -7308,29 +7354,6 @@ fi done -for ac_func in getrusage time sigaction __setfpucw -do : - as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` -ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" -if eval test \"x\$"$as_ac_var"\" = x"yes"; then : - cat >>confdefs.h <<_ACEOF -#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 -_ACEOF - -fi -done - -for ac_func in mmap munmap lstat truncate ftruncate posix_fallocate -do : - as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` -ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" -if eval test \"x\$"$as_ac_var"\" = x"yes"; then : - cat >>confdefs.h <<_ACEOF -#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 -_ACEOF - -fi -done ac_fn_c_check_member "$LINENO" "struct stat" "st_dev" "ac_cv_member_struct_stat_st_dev" "#ifdef HAVE_SYS_TYPES_H #include @@ -11232,7 +11255,7 @@ else lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 lt_status=$lt_dlunknown cat > conftest.$ac_ext <<_LT_EOF -#line 11235 "configure" +#line 11258 "configure" #include "confdefs.h" #if HAVE_DLFCN_H @@ -11338,7 +11361,7 @@ else lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 lt_status=$lt_dlunknown cat > conftest.$ac_ext <<_LT_EOF -#line 11341 "configure" +#line 11364 "configure" #include "confdefs.h" #if HAVE_DLFCN_H diff --git a/sim/arm/ChangeLog b/sim/arm/ChangeLog index 1d0d52872ce..f476ff6d482 100644 --- a/sim/arm/ChangeLog +++ b/sim/arm/ChangeLog @@ -1,3 +1,7 @@ +2021-04-18 Mike Frysinger + + * configure: Regenerate. + 2021-04-12 Mike Frysinger * wrapper.c (sim_open): Delete 3rd arg to sim_cpu_alloc_all. diff --git a/sim/arm/configure b/sim/arm/configure index 7e8c3452ce8..11da84924a2 100755 --- a/sim/arm/configure +++ b/sim/arm/configure @@ -629,6 +629,7 @@ ac_includes_default="\ # include #endif" +ac_func_list= ac_subst_vars='LTLIBOBJS LIBOBJS sim_reserved_bits @@ -2288,6 +2289,16 @@ $as_echo "$as_me: creating cache $cache_file" >&6;} >$cache_file fi +as_fn_append ac_func_list " __setfpucw" +as_fn_append ac_func_list " ftruncate" +as_fn_append ac_func_list " getrusage" +as_fn_append ac_func_list " lstat" +as_fn_append ac_func_list " mmap" +as_fn_append ac_func_list " munmap" +as_fn_append ac_func_list " posix_fallocate" +as_fn_append ac_func_list " sigaction" +as_fn_append ac_func_list " time" +as_fn_append ac_func_list " truncate" # Check that the precious variables saved in the cache have kept the same # value. ac_cache_corrupted=false @@ -3861,6 +3872,41 @@ fi rmdir .tst 2>/dev/null DEPDIR="${am__leading_dot}deps" + + + + + for ac_func in $ac_func_list +do : + as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` +ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" +if eval test \"x\$"$as_ac_var"\" = x"yes"; then : + cat >>confdefs.h <<_ACEOF +#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 +_ACEOF + +fi +done + + + + + + + + + + + + + + + + + + + + case `pwd` in *\ * | *\ *) @@ -7308,29 +7354,6 @@ fi done -for ac_func in getrusage time sigaction __setfpucw -do : - as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` -ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" -if eval test \"x\$"$as_ac_var"\" = x"yes"; then : - cat >>confdefs.h <<_ACEOF -#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 -_ACEOF - -fi -done - -for ac_func in mmap munmap lstat truncate ftruncate posix_fallocate -do : - as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` -ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" -if eval test \"x\$"$as_ac_var"\" = x"yes"; then : - cat >>confdefs.h <<_ACEOF -#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 -_ACEOF - -fi -done ac_fn_c_check_member "$LINENO" "struct stat" "st_dev" "ac_cv_member_struct_stat_st_dev" "#ifdef HAVE_SYS_TYPES_H #include @@ -11232,7 +11255,7 @@ else lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 lt_status=$lt_dlunknown cat > conftest.$ac_ext <<_LT_EOF -#line 11235 "configure" +#line 11258 "configure" #include "confdefs.h" #if HAVE_DLFCN_H @@ -11338,7 +11361,7 @@ else lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 lt_status=$lt_dlunknown cat > conftest.$ac_ext <<_LT_EOF -#line 11341 "configure" +#line 11364 "configure" #include "confdefs.h" #if HAVE_DLFCN_H diff --git a/sim/avr/ChangeLog b/sim/avr/ChangeLog index 60c54faea2c..3882b1917ca 100644 --- a/sim/avr/ChangeLog +++ b/sim/avr/ChangeLog @@ -1,3 +1,7 @@ +2021-04-18 Mike Frysinger + + * configure: Regenerate. + 2021-04-12 Mike Frysinger * interp.c (sim_open): Delete 3rd arg to sim_cpu_alloc_all. diff --git a/sim/avr/configure b/sim/avr/configure index 853462d64d5..4488524eea6 100755 --- a/sim/avr/configure +++ b/sim/avr/configure @@ -629,6 +629,7 @@ ac_includes_default="\ # include #endif" +ac_func_list= ac_subst_vars='LTLIBOBJS LIBOBJS sim_reserved_bits @@ -2288,6 +2289,16 @@ $as_echo "$as_me: creating cache $cache_file" >&6;} >$cache_file fi +as_fn_append ac_func_list " __setfpucw" +as_fn_append ac_func_list " ftruncate" +as_fn_append ac_func_list " getrusage" +as_fn_append ac_func_list " lstat" +as_fn_append ac_func_list " mmap" +as_fn_append ac_func_list " munmap" +as_fn_append ac_func_list " posix_fallocate" +as_fn_append ac_func_list " sigaction" +as_fn_append ac_func_list " time" +as_fn_append ac_func_list " truncate" # Check that the precious variables saved in the cache have kept the same # value. ac_cache_corrupted=false @@ -3861,6 +3872,41 @@ fi rmdir .tst 2>/dev/null DEPDIR="${am__leading_dot}deps" + + + + + for ac_func in $ac_func_list +do : + as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` +ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" +if eval test \"x\$"$as_ac_var"\" = x"yes"; then : + cat >>confdefs.h <<_ACEOF +#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 +_ACEOF + +fi +done + + + + + + + + + + + + + + + + + + + + case `pwd` in *\ * | *\ *) @@ -7308,29 +7354,6 @@ fi done -for ac_func in getrusage time sigaction __setfpucw -do : - as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` -ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" -if eval test \"x\$"$as_ac_var"\" = x"yes"; then : - cat >>confdefs.h <<_ACEOF -#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 -_ACEOF - -fi -done - -for ac_func in mmap munmap lstat truncate ftruncate posix_fallocate -do : - as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` -ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" -if eval test \"x\$"$as_ac_var"\" = x"yes"; then : - cat >>confdefs.h <<_ACEOF -#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 -_ACEOF - -fi -done ac_fn_c_check_member "$LINENO" "struct stat" "st_dev" "ac_cv_member_struct_stat_st_dev" "#ifdef HAVE_SYS_TYPES_H #include @@ -11232,7 +11255,7 @@ else lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 lt_status=$lt_dlunknown cat > conftest.$ac_ext <<_LT_EOF -#line 11235 "configure" +#line 11258 "configure" #include "confdefs.h" #if HAVE_DLFCN_H @@ -11338,7 +11361,7 @@ else lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 lt_status=$lt_dlunknown cat > conftest.$ac_ext <<_LT_EOF -#line 11341 "configure" +#line 11364 "configure" #include "confdefs.h" #if HAVE_DLFCN_H diff --git a/sim/bfin/ChangeLog b/sim/bfin/ChangeLog index 51d48b86c12..64c71f92e43 100644 --- a/sim/bfin/ChangeLog +++ b/sim/bfin/ChangeLog @@ -1,3 +1,9 @@ +2021-04-18 Mike Frysinger + + * configure.ac: Change AC_CHECK_FUNCS to AC_CHECK_FUNCS_ONCE and + delete mmap & munmap. + * configure: Regenerate. + 2021-04-18 Mike Frysinger * interp.c (bfin_syscall): Delete CB_SYS_getpid handling. diff --git a/sim/bfin/configure b/sim/bfin/configure index fc432d0ca03..e1692b15aa6 100755 --- a/sim/bfin/configure +++ b/sim/bfin/configure @@ -629,6 +629,7 @@ ac_includes_default="\ # include #endif" +ac_func_list= ac_subst_vars='LTLIBOBJS LIBOBJS sim_reserved_bits @@ -2311,6 +2312,24 @@ $as_echo "$as_me: creating cache $cache_file" >&6;} >$cache_file fi +as_fn_append ac_func_list " __setfpucw" +as_fn_append ac_func_list " ftruncate" +as_fn_append ac_func_list " getrusage" +as_fn_append ac_func_list " lstat" +as_fn_append ac_func_list " mmap" +as_fn_append ac_func_list " munmap" +as_fn_append ac_func_list " posix_fallocate" +as_fn_append ac_func_list " sigaction" +as_fn_append ac_func_list " time" +as_fn_append ac_func_list " truncate" +as_fn_append ac_func_list " getuid" +as_fn_append ac_func_list " getgid" +as_fn_append ac_func_list " geteuid" +as_fn_append ac_func_list " getegid" +as_fn_append ac_func_list " setuid" +as_fn_append ac_func_list " setgid" +as_fn_append ac_func_list " kill" +as_fn_append ac_func_list " pread" # Check that the precious variables saved in the cache have kept the same # value. ac_cache_corrupted=false @@ -3884,6 +3903,41 @@ fi rmdir .tst 2>/dev/null DEPDIR="${am__leading_dot}deps" + + + + + for ac_func in $ac_func_list +do : + as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` +ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" +if eval test \"x\$"$as_ac_var"\" = x"yes"; then : + cat >>confdefs.h <<_ACEOF +#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 +_ACEOF + +fi +done + + + + + + + + + + + + + + + + + + + + case `pwd` in *\ * | *\ *) @@ -7331,29 +7385,6 @@ fi done -for ac_func in getrusage time sigaction __setfpucw -do : - as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` -ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" -if eval test \"x\$"$as_ac_var"\" = x"yes"; then : - cat >>confdefs.h <<_ACEOF -#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 -_ACEOF - -fi -done - -for ac_func in mmap munmap lstat truncate ftruncate posix_fallocate -do : - as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` -ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" -if eval test \"x\$"$as_ac_var"\" = x"yes"; then : - cat >>confdefs.h <<_ACEOF -#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 -_ACEOF - -fi -done ac_fn_c_check_member "$LINENO" "struct stat" "st_dev" "ac_cv_member_struct_stat_st_dev" "#ifdef HAVE_SYS_TYPES_H #include @@ -11255,7 +11286,7 @@ else lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 lt_status=$lt_dlunknown cat > conftest.$ac_ext <<_LT_EOF -#line 11258 "configure" +#line 11289 "configure" #include "confdefs.h" #if HAVE_DLFCN_H @@ -11361,7 +11392,7 @@ else lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 lt_status=$lt_dlunknown cat > conftest.$ac_ext <<_LT_EOF -#line 11364 "configure" +#line 11395 "configure" #include "confdefs.h" #if HAVE_DLFCN_H @@ -12256,17 +12287,22 @@ fi fi -for ac_func in getuid getgid geteuid getegid setuid setgid mmap munmap kill pread -do : - as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` -ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" -if eval test \"x\$"$as_ac_var"\" = x"yes"; then : - cat >>confdefs.h <<_ACEOF -#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 -_ACEOF -fi -done + + + + + + + + + + + + + + + for ac_header in \ linux/if_tun.h \ diff --git a/sim/bfin/configure.ac b/sim/bfin/configure.ac index 0ca02ba78b8..6b15b77d15b 100644 --- a/sim/bfin/configure.ac +++ b/sim/bfin/configure.ac @@ -42,7 +42,7 @@ SIM_AC_OPTION_HARDWARE(yes,,\ eth_phy \ ) -AC_CHECK_FUNCS([getuid getgid geteuid getegid setuid setgid mmap munmap kill pread]) +AC_CHECK_FUNCS_ONCE([getuid getgid geteuid getegid setuid setgid kill pread]) AC_CHECK_HEADERS([ \ linux/if_tun.h \ linux/mii.h \ diff --git a/sim/bpf/ChangeLog b/sim/bpf/ChangeLog index 79b66920860..99ef896f455 100644 --- a/sim/bpf/ChangeLog +++ b/sim/bpf/ChangeLog @@ -1,3 +1,7 @@ +2021-04-18 Mike Frysinger + + * configure: Regenerate. + 2021-04-12 Mike Frysinger * sim-if.c (sim_open): Delete 3rd arg to sim_cpu_alloc_all. diff --git a/sim/bpf/configure b/sim/bpf/configure index 8f4a1ebc91f..ab02f8c459c 100755 --- a/sim/bpf/configure +++ b/sim/bpf/configure @@ -629,6 +629,7 @@ ac_includes_default="\ # include #endif" +ac_func_list= ac_subst_vars='LTLIBOBJS LIBOBJS sim_reserved_bits @@ -2301,6 +2302,16 @@ $as_echo "$as_me: creating cache $cache_file" >&6;} >$cache_file fi +as_fn_append ac_func_list " __setfpucw" +as_fn_append ac_func_list " ftruncate" +as_fn_append ac_func_list " getrusage" +as_fn_append ac_func_list " lstat" +as_fn_append ac_func_list " mmap" +as_fn_append ac_func_list " munmap" +as_fn_append ac_func_list " posix_fallocate" +as_fn_append ac_func_list " sigaction" +as_fn_append ac_func_list " time" +as_fn_append ac_func_list " truncate" # Check that the precious variables saved in the cache have kept the same # value. ac_cache_corrupted=false @@ -3874,6 +3885,41 @@ fi rmdir .tst 2>/dev/null DEPDIR="${am__leading_dot}deps" + + + + + for ac_func in $ac_func_list +do : + as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` +ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" +if eval test \"x\$"$as_ac_var"\" = x"yes"; then : + cat >>confdefs.h <<_ACEOF +#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 +_ACEOF + +fi +done + + + + + + + + + + + + + + + + + + + + case `pwd` in *\ * | *\ *) @@ -7321,29 +7367,6 @@ fi done -for ac_func in getrusage time sigaction __setfpucw -do : - as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` -ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" -if eval test \"x\$"$as_ac_var"\" = x"yes"; then : - cat >>confdefs.h <<_ACEOF -#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 -_ACEOF - -fi -done - -for ac_func in mmap munmap lstat truncate ftruncate posix_fallocate -do : - as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` -ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" -if eval test \"x\$"$as_ac_var"\" = x"yes"; then : - cat >>confdefs.h <<_ACEOF -#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 -_ACEOF - -fi -done ac_fn_c_check_member "$LINENO" "struct stat" "st_dev" "ac_cv_member_struct_stat_st_dev" "#ifdef HAVE_SYS_TYPES_H #include @@ -11245,7 +11268,7 @@ else lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 lt_status=$lt_dlunknown cat > conftest.$ac_ext <<_LT_EOF -#line 11248 "configure" +#line 11271 "configure" #include "confdefs.h" #if HAVE_DLFCN_H @@ -11351,7 +11374,7 @@ else lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 lt_status=$lt_dlunknown cat > conftest.$ac_ext <<_LT_EOF -#line 11354 "configure" +#line 11377 "configure" #include "confdefs.h" #if HAVE_DLFCN_H diff --git a/sim/cr16/ChangeLog b/sim/cr16/ChangeLog index 38cfe221169..869bf54e1ea 100644 --- a/sim/cr16/ChangeLog +++ b/sim/cr16/ChangeLog @@ -1,3 +1,7 @@ +2021-04-18 Mike Frysinger + + * configure: Regenerate. + 2021-04-18 Mike Frysinger * interp.c (sim_open): Use PRIx64 to match mcode type. Skip the diff --git a/sim/cr16/configure b/sim/cr16/configure index 99e21fc4b51..b04465564e8 100755 --- a/sim/cr16/configure +++ b/sim/cr16/configure @@ -629,6 +629,7 @@ ac_includes_default="\ # include #endif" +ac_func_list= ac_subst_vars='LTLIBOBJS LIBOBJS sim_reserved_bits @@ -2288,6 +2289,16 @@ $as_echo "$as_me: creating cache $cache_file" >&6;} >$cache_file fi +as_fn_append ac_func_list " __setfpucw" +as_fn_append ac_func_list " ftruncate" +as_fn_append ac_func_list " getrusage" +as_fn_append ac_func_list " lstat" +as_fn_append ac_func_list " mmap" +as_fn_append ac_func_list " munmap" +as_fn_append ac_func_list " posix_fallocate" +as_fn_append ac_func_list " sigaction" +as_fn_append ac_func_list " time" +as_fn_append ac_func_list " truncate" # Check that the precious variables saved in the cache have kept the same # value. ac_cache_corrupted=false @@ -3861,6 +3872,41 @@ fi rmdir .tst 2>/dev/null DEPDIR="${am__leading_dot}deps" + + + + + for ac_func in $ac_func_list +do : + as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` +ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" +if eval test \"x\$"$as_ac_var"\" = x"yes"; then : + cat >>confdefs.h <<_ACEOF +#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 +_ACEOF + +fi +done + + + + + + + + + + + + + + + + + + + + case `pwd` in *\ * | *\ *) @@ -7308,29 +7354,6 @@ fi done -for ac_func in getrusage time sigaction __setfpucw -do : - as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` -ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" -if eval test \"x\$"$as_ac_var"\" = x"yes"; then : - cat >>confdefs.h <<_ACEOF -#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 -_ACEOF - -fi -done - -for ac_func in mmap munmap lstat truncate ftruncate posix_fallocate -do : - as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` -ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" -if eval test \"x\$"$as_ac_var"\" = x"yes"; then : - cat >>confdefs.h <<_ACEOF -#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 -_ACEOF - -fi -done ac_fn_c_check_member "$LINENO" "struct stat" "st_dev" "ac_cv_member_struct_stat_st_dev" "#ifdef HAVE_SYS_TYPES_H #include @@ -11232,7 +11255,7 @@ else lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 lt_status=$lt_dlunknown cat > conftest.$ac_ext <<_LT_EOF -#line 11235 "configure" +#line 11258 "configure" #include "confdefs.h" #if HAVE_DLFCN_H @@ -11338,7 +11361,7 @@ else lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 lt_status=$lt_dlunknown cat > conftest.$ac_ext <<_LT_EOF -#line 11341 "configure" +#line 11364 "configure" #include "confdefs.h" #if HAVE_DLFCN_H diff --git a/sim/cris/ChangeLog b/sim/cris/ChangeLog index 1efd0a54932..ece075ed0d8 100644 --- a/sim/cris/ChangeLog +++ b/sim/cris/ChangeLog @@ -1,3 +1,7 @@ +2021-04-18 Mike Frysinger + + * configure: Regenerate. + 2021-04-12 Mike Frysinger * sim-if.c (sim_open): Delete 3rd arg to sim_cpu_alloc_all. diff --git a/sim/cris/configure b/sim/cris/configure index d882057cb8a..4c89d9924a0 100755 --- a/sim/cris/configure +++ b/sim/cris/configure @@ -629,6 +629,7 @@ ac_includes_default="\ # include #endif" +ac_func_list= ac_subst_vars='LTLIBOBJS LIBOBJS sim_reserved_bits @@ -2302,6 +2303,16 @@ $as_echo "$as_me: creating cache $cache_file" >&6;} >$cache_file fi +as_fn_append ac_func_list " __setfpucw" +as_fn_append ac_func_list " ftruncate" +as_fn_append ac_func_list " getrusage" +as_fn_append ac_func_list " lstat" +as_fn_append ac_func_list " mmap" +as_fn_append ac_func_list " munmap" +as_fn_append ac_func_list " posix_fallocate" +as_fn_append ac_func_list " sigaction" +as_fn_append ac_func_list " time" +as_fn_append ac_func_list " truncate" # Check that the precious variables saved in the cache have kept the same # value. ac_cache_corrupted=false @@ -3875,6 +3886,41 @@ fi rmdir .tst 2>/dev/null DEPDIR="${am__leading_dot}deps" + + + + + for ac_func in $ac_func_list +do : + as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` +ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" +if eval test \"x\$"$as_ac_var"\" = x"yes"; then : + cat >>confdefs.h <<_ACEOF +#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 +_ACEOF + +fi +done + + + + + + + + + + + + + + + + + + + + case `pwd` in *\ * | *\ *) @@ -7322,29 +7368,6 @@ fi done -for ac_func in getrusage time sigaction __setfpucw -do : - as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` -ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" -if eval test \"x\$"$as_ac_var"\" = x"yes"; then : - cat >>confdefs.h <<_ACEOF -#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 -_ACEOF - -fi -done - -for ac_func in mmap munmap lstat truncate ftruncate posix_fallocate -do : - as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` -ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" -if eval test \"x\$"$as_ac_var"\" = x"yes"; then : - cat >>confdefs.h <<_ACEOF -#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 -_ACEOF - -fi -done ac_fn_c_check_member "$LINENO" "struct stat" "st_dev" "ac_cv_member_struct_stat_st_dev" "#ifdef HAVE_SYS_TYPES_H #include @@ -11246,7 +11269,7 @@ else lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 lt_status=$lt_dlunknown cat > conftest.$ac_ext <<_LT_EOF -#line 11249 "configure" +#line 11272 "configure" #include "confdefs.h" #if HAVE_DLFCN_H @@ -11352,7 +11375,7 @@ else lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 lt_status=$lt_dlunknown cat > conftest.$ac_ext <<_LT_EOF -#line 11355 "configure" +#line 11378 "configure" #include "confdefs.h" #if HAVE_DLFCN_H diff --git a/sim/d10v/ChangeLog b/sim/d10v/ChangeLog index 0d5e8771d3e..77b40ef2d42 100644 --- a/sim/d10v/ChangeLog +++ b/sim/d10v/ChangeLog @@ -1,3 +1,7 @@ +2021-04-18 Mike Frysinger + + * configure: Regenerate. + 2021-04-18 Mike Frysinger * interp.c (xfer_mem): Use PRIxTA for printf format. diff --git a/sim/d10v/configure b/sim/d10v/configure index ce7530dafa9..3133e3b5ae7 100755 --- a/sim/d10v/configure +++ b/sim/d10v/configure @@ -629,6 +629,7 @@ ac_includes_default="\ # include #endif" +ac_func_list= ac_subst_vars='LTLIBOBJS LIBOBJS sim_reserved_bits @@ -2288,6 +2289,16 @@ $as_echo "$as_me: creating cache $cache_file" >&6;} >$cache_file fi +as_fn_append ac_func_list " __setfpucw" +as_fn_append ac_func_list " ftruncate" +as_fn_append ac_func_list " getrusage" +as_fn_append ac_func_list " lstat" +as_fn_append ac_func_list " mmap" +as_fn_append ac_func_list " munmap" +as_fn_append ac_func_list " posix_fallocate" +as_fn_append ac_func_list " sigaction" +as_fn_append ac_func_list " time" +as_fn_append ac_func_list " truncate" # Check that the precious variables saved in the cache have kept the same # value. ac_cache_corrupted=false @@ -3861,6 +3872,41 @@ fi rmdir .tst 2>/dev/null DEPDIR="${am__leading_dot}deps" + + + + + for ac_func in $ac_func_list +do : + as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` +ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" +if eval test \"x\$"$as_ac_var"\" = x"yes"; then : + cat >>confdefs.h <<_ACEOF +#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 +_ACEOF + +fi +done + + + + + + + + + + + + + + + + + + + + case `pwd` in *\ * | *\ *) @@ -7308,29 +7354,6 @@ fi done -for ac_func in getrusage time sigaction __setfpucw -do : - as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` -ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" -if eval test \"x\$"$as_ac_var"\" = x"yes"; then : - cat >>confdefs.h <<_ACEOF -#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 -_ACEOF - -fi -done - -for ac_func in mmap munmap lstat truncate ftruncate posix_fallocate -do : - as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` -ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" -if eval test \"x\$"$as_ac_var"\" = x"yes"; then : - cat >>confdefs.h <<_ACEOF -#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 -_ACEOF - -fi -done ac_fn_c_check_member "$LINENO" "struct stat" "st_dev" "ac_cv_member_struct_stat_st_dev" "#ifdef HAVE_SYS_TYPES_H #include @@ -11232,7 +11255,7 @@ else lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 lt_status=$lt_dlunknown cat > conftest.$ac_ext <<_LT_EOF -#line 11235 "configure" +#line 11258 "configure" #include "confdefs.h" #if HAVE_DLFCN_H @@ -11338,7 +11361,7 @@ else lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 lt_status=$lt_dlunknown cat > conftest.$ac_ext <<_LT_EOF -#line 11341 "configure" +#line 11364 "configure" #include "confdefs.h" #if HAVE_DLFCN_H diff --git a/sim/erc32/ChangeLog b/sim/erc32/ChangeLog index 389884bacb8..74537aa3460 100644 --- a/sim/erc32/ChangeLog +++ b/sim/erc32/ChangeLog @@ -1,3 +1,7 @@ +2021-04-18 Mike Frysinger + + * configure: Regenerate. + 2021-04-15 John Baldwin * Makefile.in (READLINE_SRC, READLINE_CFLAGS): Add. diff --git a/sim/erc32/configure b/sim/erc32/configure index 548b11cf4ed..d9b685d7b1e 100755 --- a/sim/erc32/configure +++ b/sim/erc32/configure @@ -629,6 +629,7 @@ ac_includes_default="\ # include #endif" +ac_func_list= ac_subst_vars='LTLIBOBJS LIBOBJS sim_reserved_bits @@ -2284,6 +2285,16 @@ $as_echo "$as_me: creating cache $cache_file" >&6;} >$cache_file fi +as_fn_append ac_func_list " __setfpucw" +as_fn_append ac_func_list " ftruncate" +as_fn_append ac_func_list " getrusage" +as_fn_append ac_func_list " lstat" +as_fn_append ac_func_list " mmap" +as_fn_append ac_func_list " munmap" +as_fn_append ac_func_list " posix_fallocate" +as_fn_append ac_func_list " sigaction" +as_fn_append ac_func_list " time" +as_fn_append ac_func_list " truncate" # Check that the precious variables saved in the cache have kept the same # value. ac_cache_corrupted=false @@ -3857,6 +3868,41 @@ fi rmdir .tst 2>/dev/null DEPDIR="${am__leading_dot}deps" + + + + + for ac_func in $ac_func_list +do : + as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` +ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" +if eval test \"x\$"$as_ac_var"\" = x"yes"; then : + cat >>confdefs.h <<_ACEOF +#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 +_ACEOF + +fi +done + + + + + + + + + + + + + + + + + + + + case `pwd` in *\ * | *\ *) @@ -7304,29 +7350,6 @@ fi done -for ac_func in getrusage time sigaction __setfpucw -do : - as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` -ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" -if eval test \"x\$"$as_ac_var"\" = x"yes"; then : - cat >>confdefs.h <<_ACEOF -#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 -_ACEOF - -fi -done - -for ac_func in mmap munmap lstat truncate ftruncate posix_fallocate -do : - as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` -ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" -if eval test \"x\$"$as_ac_var"\" = x"yes"; then : - cat >>confdefs.h <<_ACEOF -#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 -_ACEOF - -fi -done ac_fn_c_check_member "$LINENO" "struct stat" "st_dev" "ac_cv_member_struct_stat_st_dev" "#ifdef HAVE_SYS_TYPES_H #include @@ -11228,7 +11251,7 @@ else lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 lt_status=$lt_dlunknown cat > conftest.$ac_ext <<_LT_EOF -#line 11231 "configure" +#line 11254 "configure" #include "confdefs.h" #if HAVE_DLFCN_H @@ -11334,7 +11357,7 @@ else lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 lt_status=$lt_dlunknown cat > conftest.$ac_ext <<_LT_EOF -#line 11337 "configure" +#line 11360 "configure" #include "confdefs.h" #if HAVE_DLFCN_H diff --git a/sim/example-synacor/ChangeLog b/sim/example-synacor/ChangeLog index 4e664e2a14a..e0f5182acac 100644 --- a/sim/example-synacor/ChangeLog +++ b/sim/example-synacor/ChangeLog @@ -1,3 +1,7 @@ +2021-04-18 Mike Frysinger + + * configure: Regenerate. + 2021-04-12 Mike Frysinger * interp.c (sim_open): Delete 3rd arg to sim_cpu_alloc_all. diff --git a/sim/example-synacor/configure b/sim/example-synacor/configure index 4392bc8c316..14059722567 100755 --- a/sim/example-synacor/configure +++ b/sim/example-synacor/configure @@ -629,6 +629,7 @@ ac_includes_default="\ # include #endif" +ac_func_list= ac_subst_vars='LTLIBOBJS LIBOBJS sim_reserved_bits @@ -2288,6 +2289,16 @@ $as_echo "$as_me: creating cache $cache_file" >&6;} >$cache_file fi +as_fn_append ac_func_list " __setfpucw" +as_fn_append ac_func_list " ftruncate" +as_fn_append ac_func_list " getrusage" +as_fn_append ac_func_list " lstat" +as_fn_append ac_func_list " mmap" +as_fn_append ac_func_list " munmap" +as_fn_append ac_func_list " posix_fallocate" +as_fn_append ac_func_list " sigaction" +as_fn_append ac_func_list " time" +as_fn_append ac_func_list " truncate" # Check that the precious variables saved in the cache have kept the same # value. ac_cache_corrupted=false @@ -3861,6 +3872,41 @@ fi rmdir .tst 2>/dev/null DEPDIR="${am__leading_dot}deps" + + + + + for ac_func in $ac_func_list +do : + as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` +ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" +if eval test \"x\$"$as_ac_var"\" = x"yes"; then : + cat >>confdefs.h <<_ACEOF +#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 +_ACEOF + +fi +done + + + + + + + + + + + + + + + + + + + + case `pwd` in *\ * | *\ *) @@ -7308,29 +7354,6 @@ fi done -for ac_func in getrusage time sigaction __setfpucw -do : - as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` -ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" -if eval test \"x\$"$as_ac_var"\" = x"yes"; then : - cat >>confdefs.h <<_ACEOF -#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 -_ACEOF - -fi -done - -for ac_func in mmap munmap lstat truncate ftruncate posix_fallocate -do : - as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` -ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" -if eval test \"x\$"$as_ac_var"\" = x"yes"; then : - cat >>confdefs.h <<_ACEOF -#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 -_ACEOF - -fi -done ac_fn_c_check_member "$LINENO" "struct stat" "st_dev" "ac_cv_member_struct_stat_st_dev" "#ifdef HAVE_SYS_TYPES_H #include @@ -11232,7 +11255,7 @@ else lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 lt_status=$lt_dlunknown cat > conftest.$ac_ext <<_LT_EOF -#line 11235 "configure" +#line 11258 "configure" #include "confdefs.h" #if HAVE_DLFCN_H @@ -11338,7 +11361,7 @@ else lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 lt_status=$lt_dlunknown cat > conftest.$ac_ext <<_LT_EOF -#line 11341 "configure" +#line 11364 "configure" #include "confdefs.h" #if HAVE_DLFCN_H diff --git a/sim/frv/ChangeLog b/sim/frv/ChangeLog index 88c89921766..651bb904933 100644 --- a/sim/frv/ChangeLog +++ b/sim/frv/ChangeLog @@ -1,3 +1,7 @@ +2021-04-18 Mike Frysinger + + * configure: Regenerate. + 2021-04-15 John Baldwin * traps.c (frvbf_check_acc_range): Add missing return value. diff --git a/sim/frv/configure b/sim/frv/configure index e3b9f0701c5..298b815ad81 100755 --- a/sim/frv/configure +++ b/sim/frv/configure @@ -629,6 +629,7 @@ ac_includes_default="\ # include #endif" +ac_func_list= ac_subst_vars='LTLIBOBJS LIBOBJS sim_reserved_bits @@ -2305,6 +2306,16 @@ $as_echo "$as_me: creating cache $cache_file" >&6;} >$cache_file fi +as_fn_append ac_func_list " __setfpucw" +as_fn_append ac_func_list " ftruncate" +as_fn_append ac_func_list " getrusage" +as_fn_append ac_func_list " lstat" +as_fn_append ac_func_list " mmap" +as_fn_append ac_func_list " munmap" +as_fn_append ac_func_list " posix_fallocate" +as_fn_append ac_func_list " sigaction" +as_fn_append ac_func_list " time" +as_fn_append ac_func_list " truncate" # Check that the precious variables saved in the cache have kept the same # value. ac_cache_corrupted=false @@ -3878,6 +3889,41 @@ fi rmdir .tst 2>/dev/null DEPDIR="${am__leading_dot}deps" + + + + + for ac_func in $ac_func_list +do : + as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` +ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" +if eval test \"x\$"$as_ac_var"\" = x"yes"; then : + cat >>confdefs.h <<_ACEOF +#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 +_ACEOF + +fi +done + + + + + + + + + + + + + + + + + + + + case `pwd` in *\ * | *\ *) @@ -7325,29 +7371,6 @@ fi done -for ac_func in getrusage time sigaction __setfpucw -do : - as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` -ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" -if eval test \"x\$"$as_ac_var"\" = x"yes"; then : - cat >>confdefs.h <<_ACEOF -#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 -_ACEOF - -fi -done - -for ac_func in mmap munmap lstat truncate ftruncate posix_fallocate -do : - as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` -ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" -if eval test \"x\$"$as_ac_var"\" = x"yes"; then : - cat >>confdefs.h <<_ACEOF -#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 -_ACEOF - -fi -done ac_fn_c_check_member "$LINENO" "struct stat" "st_dev" "ac_cv_member_struct_stat_st_dev" "#ifdef HAVE_SYS_TYPES_H #include @@ -11249,7 +11272,7 @@ else lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 lt_status=$lt_dlunknown cat > conftest.$ac_ext <<_LT_EOF -#line 11252 "configure" +#line 11275 "configure" #include "confdefs.h" #if HAVE_DLFCN_H @@ -11355,7 +11378,7 @@ else lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 lt_status=$lt_dlunknown cat > conftest.$ac_ext <<_LT_EOF -#line 11358 "configure" +#line 11381 "configure" #include "confdefs.h" #if HAVE_DLFCN_H diff --git a/sim/ft32/ChangeLog b/sim/ft32/ChangeLog index 6d6ef90c14f..94cf3dd838b 100644 --- a/sim/ft32/ChangeLog +++ b/sim/ft32/ChangeLog @@ -1,3 +1,7 @@ +2021-04-18 Mike Frysinger + + * configure: Regenerate. + 2021-04-12 Mike Frysinger * interp.c (sim_open): Delete 3rd arg to sim_cpu_alloc_all. diff --git a/sim/ft32/configure b/sim/ft32/configure index f3a84fae6b4..c3a092c487a 100755 --- a/sim/ft32/configure +++ b/sim/ft32/configure @@ -629,6 +629,7 @@ ac_includes_default="\ # include #endif" +ac_func_list= ac_subst_vars='LTLIBOBJS LIBOBJS sim_reserved_bits @@ -2288,6 +2289,16 @@ $as_echo "$as_me: creating cache $cache_file" >&6;} >$cache_file fi +as_fn_append ac_func_list " __setfpucw" +as_fn_append ac_func_list " ftruncate" +as_fn_append ac_func_list " getrusage" +as_fn_append ac_func_list " lstat" +as_fn_append ac_func_list " mmap" +as_fn_append ac_func_list " munmap" +as_fn_append ac_func_list " posix_fallocate" +as_fn_append ac_func_list " sigaction" +as_fn_append ac_func_list " time" +as_fn_append ac_func_list " truncate" # Check that the precious variables saved in the cache have kept the same # value. ac_cache_corrupted=false @@ -3861,6 +3872,41 @@ fi rmdir .tst 2>/dev/null DEPDIR="${am__leading_dot}deps" + + + + + for ac_func in $ac_func_list +do : + as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` +ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" +if eval test \"x\$"$as_ac_var"\" = x"yes"; then : + cat >>confdefs.h <<_ACEOF +#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 +_ACEOF + +fi +done + + + + + + + + + + + + + + + + + + + + case `pwd` in *\ * | *\ *) @@ -7308,29 +7354,6 @@ fi done -for ac_func in getrusage time sigaction __setfpucw -do : - as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` -ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" -if eval test \"x\$"$as_ac_var"\" = x"yes"; then : - cat >>confdefs.h <<_ACEOF -#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 -_ACEOF - -fi -done - -for ac_func in mmap munmap lstat truncate ftruncate posix_fallocate -do : - as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` -ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" -if eval test \"x\$"$as_ac_var"\" = x"yes"; then : - cat >>confdefs.h <<_ACEOF -#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 -_ACEOF - -fi -done ac_fn_c_check_member "$LINENO" "struct stat" "st_dev" "ac_cv_member_struct_stat_st_dev" "#ifdef HAVE_SYS_TYPES_H #include @@ -11232,7 +11255,7 @@ else lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 lt_status=$lt_dlunknown cat > conftest.$ac_ext <<_LT_EOF -#line 11235 "configure" +#line 11258 "configure" #include "confdefs.h" #if HAVE_DLFCN_H @@ -11338,7 +11361,7 @@ else lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 lt_status=$lt_dlunknown cat > conftest.$ac_ext <<_LT_EOF -#line 11341 "configure" +#line 11364 "configure" #include "confdefs.h" #if HAVE_DLFCN_H diff --git a/sim/h8300/ChangeLog b/sim/h8300/ChangeLog index 806f05332d8..d900442b2fc 100644 --- a/sim/h8300/ChangeLog +++ b/sim/h8300/ChangeLog @@ -1,3 +1,7 @@ +2021-04-18 Mike Frysinger + + * configure: Regenerate. + 2021-04-12 Mike Frysinger * compile.c (sim_open): Delete 3rd arg to sim_cpu_alloc_all. diff --git a/sim/h8300/configure b/sim/h8300/configure index 07f4d74ae62..c331313a333 100755 --- a/sim/h8300/configure +++ b/sim/h8300/configure @@ -629,6 +629,7 @@ ac_includes_default="\ # include #endif" +ac_func_list= ac_subst_vars='LTLIBOBJS LIBOBJS sim_reserved_bits @@ -2288,6 +2289,16 @@ $as_echo "$as_me: creating cache $cache_file" >&6;} >$cache_file fi +as_fn_append ac_func_list " __setfpucw" +as_fn_append ac_func_list " ftruncate" +as_fn_append ac_func_list " getrusage" +as_fn_append ac_func_list " lstat" +as_fn_append ac_func_list " mmap" +as_fn_append ac_func_list " munmap" +as_fn_append ac_func_list " posix_fallocate" +as_fn_append ac_func_list " sigaction" +as_fn_append ac_func_list " time" +as_fn_append ac_func_list " truncate" # Check that the precious variables saved in the cache have kept the same # value. ac_cache_corrupted=false @@ -3861,6 +3872,41 @@ fi rmdir .tst 2>/dev/null DEPDIR="${am__leading_dot}deps" + + + + + for ac_func in $ac_func_list +do : + as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` +ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" +if eval test \"x\$"$as_ac_var"\" = x"yes"; then : + cat >>confdefs.h <<_ACEOF +#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 +_ACEOF + +fi +done + + + + + + + + + + + + + + + + + + + + case `pwd` in *\ * | *\ *) @@ -7308,29 +7354,6 @@ fi done -for ac_func in getrusage time sigaction __setfpucw -do : - as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` -ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" -if eval test \"x\$"$as_ac_var"\" = x"yes"; then : - cat >>confdefs.h <<_ACEOF -#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 -_ACEOF - -fi -done - -for ac_func in mmap munmap lstat truncate ftruncate posix_fallocate -do : - as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` -ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" -if eval test \"x\$"$as_ac_var"\" = x"yes"; then : - cat >>confdefs.h <<_ACEOF -#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 -_ACEOF - -fi -done ac_fn_c_check_member "$LINENO" "struct stat" "st_dev" "ac_cv_member_struct_stat_st_dev" "#ifdef HAVE_SYS_TYPES_H #include @@ -11232,7 +11255,7 @@ else lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 lt_status=$lt_dlunknown cat > conftest.$ac_ext <<_LT_EOF -#line 11235 "configure" +#line 11258 "configure" #include "confdefs.h" #if HAVE_DLFCN_H @@ -11338,7 +11361,7 @@ else lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 lt_status=$lt_dlunknown cat > conftest.$ac_ext <<_LT_EOF -#line 11341 "configure" +#line 11364 "configure" #include "confdefs.h" #if HAVE_DLFCN_H diff --git a/sim/iq2000/ChangeLog b/sim/iq2000/ChangeLog index 4cace111f63..c6fc38c18c1 100644 --- a/sim/iq2000/ChangeLog +++ b/sim/iq2000/ChangeLog @@ -1,3 +1,7 @@ +2021-04-18 Mike Frysinger + + * configure: Regenerate. + 2021-04-12 Mike Frysinger * sim-if.c (sim_open): Delete 3rd arg to sim_cpu_alloc_all. diff --git a/sim/iq2000/configure b/sim/iq2000/configure index 5b5954d3f03..875c63122e2 100755 --- a/sim/iq2000/configure +++ b/sim/iq2000/configure @@ -629,6 +629,7 @@ ac_includes_default="\ # include #endif" +ac_func_list= ac_subst_vars='LTLIBOBJS LIBOBJS sim_reserved_bits @@ -2302,6 +2303,16 @@ $as_echo "$as_me: creating cache $cache_file" >&6;} >$cache_file fi +as_fn_append ac_func_list " __setfpucw" +as_fn_append ac_func_list " ftruncate" +as_fn_append ac_func_list " getrusage" +as_fn_append ac_func_list " lstat" +as_fn_append ac_func_list " mmap" +as_fn_append ac_func_list " munmap" +as_fn_append ac_func_list " posix_fallocate" +as_fn_append ac_func_list " sigaction" +as_fn_append ac_func_list " time" +as_fn_append ac_func_list " truncate" # Check that the precious variables saved in the cache have kept the same # value. ac_cache_corrupted=false @@ -3875,6 +3886,41 @@ fi rmdir .tst 2>/dev/null DEPDIR="${am__leading_dot}deps" + + + + + for ac_func in $ac_func_list +do : + as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` +ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" +if eval test \"x\$"$as_ac_var"\" = x"yes"; then : + cat >>confdefs.h <<_ACEOF +#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 +_ACEOF + +fi +done + + + + + + + + + + + + + + + + + + + + case `pwd` in *\ * | *\ *) @@ -7322,29 +7368,6 @@ fi done -for ac_func in getrusage time sigaction __setfpucw -do : - as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` -ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" -if eval test \"x\$"$as_ac_var"\" = x"yes"; then : - cat >>confdefs.h <<_ACEOF -#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 -_ACEOF - -fi -done - -for ac_func in mmap munmap lstat truncate ftruncate posix_fallocate -do : - as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` -ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" -if eval test \"x\$"$as_ac_var"\" = x"yes"; then : - cat >>confdefs.h <<_ACEOF -#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 -_ACEOF - -fi -done ac_fn_c_check_member "$LINENO" "struct stat" "st_dev" "ac_cv_member_struct_stat_st_dev" "#ifdef HAVE_SYS_TYPES_H #include @@ -11246,7 +11269,7 @@ else lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 lt_status=$lt_dlunknown cat > conftest.$ac_ext <<_LT_EOF -#line 11249 "configure" +#line 11272 "configure" #include "confdefs.h" #if HAVE_DLFCN_H @@ -11352,7 +11375,7 @@ else lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 lt_status=$lt_dlunknown cat > conftest.$ac_ext <<_LT_EOF -#line 11355 "configure" +#line 11378 "configure" #include "confdefs.h" #if HAVE_DLFCN_H diff --git a/sim/lm32/ChangeLog b/sim/lm32/ChangeLog index 31500e5c6c8..5c7b77c1432 100644 --- a/sim/lm32/ChangeLog +++ b/sim/lm32/ChangeLog @@ -1,3 +1,7 @@ +2021-04-18 Mike Frysinger + + * configure: Regenerate. + 2021-04-15 John Baldwin * Makefile.in: Pass -shell to genmloop.sh. diff --git a/sim/lm32/configure b/sim/lm32/configure index 3b50a57b003..4a8f4a4a132 100755 --- a/sim/lm32/configure +++ b/sim/lm32/configure @@ -629,6 +629,7 @@ ac_includes_default="\ # include #endif" +ac_func_list= ac_subst_vars='LTLIBOBJS LIBOBJS sim_reserved_bits @@ -2302,6 +2303,16 @@ $as_echo "$as_me: creating cache $cache_file" >&6;} >$cache_file fi +as_fn_append ac_func_list " __setfpucw" +as_fn_append ac_func_list " ftruncate" +as_fn_append ac_func_list " getrusage" +as_fn_append ac_func_list " lstat" +as_fn_append ac_func_list " mmap" +as_fn_append ac_func_list " munmap" +as_fn_append ac_func_list " posix_fallocate" +as_fn_append ac_func_list " sigaction" +as_fn_append ac_func_list " time" +as_fn_append ac_func_list " truncate" # Check that the precious variables saved in the cache have kept the same # value. ac_cache_corrupted=false @@ -3875,6 +3886,41 @@ fi rmdir .tst 2>/dev/null DEPDIR="${am__leading_dot}deps" + + + + + for ac_func in $ac_func_list +do : + as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` +ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" +if eval test \"x\$"$as_ac_var"\" = x"yes"; then : + cat >>confdefs.h <<_ACEOF +#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 +_ACEOF + +fi +done + + + + + + + + + + + + + + + + + + + + case `pwd` in *\ * | *\ *) @@ -7322,29 +7368,6 @@ fi done -for ac_func in getrusage time sigaction __setfpucw -do : - as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` -ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" -if eval test \"x\$"$as_ac_var"\" = x"yes"; then : - cat >>confdefs.h <<_ACEOF -#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 -_ACEOF - -fi -done - -for ac_func in mmap munmap lstat truncate ftruncate posix_fallocate -do : - as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` -ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" -if eval test \"x\$"$as_ac_var"\" = x"yes"; then : - cat >>confdefs.h <<_ACEOF -#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 -_ACEOF - -fi -done ac_fn_c_check_member "$LINENO" "struct stat" "st_dev" "ac_cv_member_struct_stat_st_dev" "#ifdef HAVE_SYS_TYPES_H #include @@ -11246,7 +11269,7 @@ else lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 lt_status=$lt_dlunknown cat > conftest.$ac_ext <<_LT_EOF -#line 11249 "configure" +#line 11272 "configure" #include "confdefs.h" #if HAVE_DLFCN_H @@ -11352,7 +11375,7 @@ else lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 lt_status=$lt_dlunknown cat > conftest.$ac_ext <<_LT_EOF -#line 11355 "configure" +#line 11378 "configure" #include "confdefs.h" #if HAVE_DLFCN_H diff --git a/sim/m32c/ChangeLog b/sim/m32c/ChangeLog index 458024c575f..8d912324593 100644 --- a/sim/m32c/ChangeLog +++ b/sim/m32c/ChangeLog @@ -1,3 +1,7 @@ +2021-04-18 Mike Frysinger + + * configure: Regenerate. + 2021-04-08 Simon Marchi * Makefile.in: Set ASAN_OPTIONS when running opc2c. diff --git a/sim/m32c/configure b/sim/m32c/configure index 0ef2184ccaf..aa106d28d3f 100755 --- a/sim/m32c/configure +++ b/sim/m32c/configure @@ -629,6 +629,7 @@ ac_includes_default="\ # include #endif" +ac_func_list= ac_subst_vars='LTLIBOBJS LIBOBJS sim_reserved_bits @@ -2281,6 +2282,16 @@ $as_echo "$as_me: creating cache $cache_file" >&6;} >$cache_file fi +as_fn_append ac_func_list " __setfpucw" +as_fn_append ac_func_list " ftruncate" +as_fn_append ac_func_list " getrusage" +as_fn_append ac_func_list " lstat" +as_fn_append ac_func_list " mmap" +as_fn_append ac_func_list " munmap" +as_fn_append ac_func_list " posix_fallocate" +as_fn_append ac_func_list " sigaction" +as_fn_append ac_func_list " time" +as_fn_append ac_func_list " truncate" # Check that the precious variables saved in the cache have kept the same # value. ac_cache_corrupted=false @@ -3854,6 +3865,41 @@ fi rmdir .tst 2>/dev/null DEPDIR="${am__leading_dot}deps" + + + + + for ac_func in $ac_func_list +do : + as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` +ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" +if eval test \"x\$"$as_ac_var"\" = x"yes"; then : + cat >>confdefs.h <<_ACEOF +#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 +_ACEOF + +fi +done + + + + + + + + + + + + + + + + + + + + case `pwd` in *\ * | *\ *) @@ -7301,29 +7347,6 @@ fi done -for ac_func in getrusage time sigaction __setfpucw -do : - as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` -ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" -if eval test \"x\$"$as_ac_var"\" = x"yes"; then : - cat >>confdefs.h <<_ACEOF -#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 -_ACEOF - -fi -done - -for ac_func in mmap munmap lstat truncate ftruncate posix_fallocate -do : - as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` -ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" -if eval test \"x\$"$as_ac_var"\" = x"yes"; then : - cat >>confdefs.h <<_ACEOF -#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 -_ACEOF - -fi -done ac_fn_c_check_member "$LINENO" "struct stat" "st_dev" "ac_cv_member_struct_stat_st_dev" "#ifdef HAVE_SYS_TYPES_H #include @@ -11225,7 +11248,7 @@ else lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 lt_status=$lt_dlunknown cat > conftest.$ac_ext <<_LT_EOF -#line 11228 "configure" +#line 11251 "configure" #include "confdefs.h" #if HAVE_DLFCN_H @@ -11331,7 +11354,7 @@ else lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 lt_status=$lt_dlunknown cat > conftest.$ac_ext <<_LT_EOF -#line 11334 "configure" +#line 11357 "configure" #include "confdefs.h" #if HAVE_DLFCN_H diff --git a/sim/m32r/ChangeLog b/sim/m32r/ChangeLog index 123bcf4fb19..00f0527a0be 100644 --- a/sim/m32r/ChangeLog +++ b/sim/m32r/ChangeLog @@ -1,3 +1,7 @@ +2021-04-18 Mike Frysinger + + * configure: Regenerate. + 2021-04-12 Mike Frysinger * sim-if.c (sim_open): Delete 3rd arg to sim_cpu_alloc_all. diff --git a/sim/m32r/configure b/sim/m32r/configure index 1b02402f618..be1b5aea426 100755 --- a/sim/m32r/configure +++ b/sim/m32r/configure @@ -629,6 +629,7 @@ ac_includes_default="\ # include #endif" +ac_func_list= ac_subst_vars='LTLIBOBJS LIBOBJS sim_reserved_bits @@ -2304,6 +2305,16 @@ $as_echo "$as_me: creating cache $cache_file" >&6;} >$cache_file fi +as_fn_append ac_func_list " __setfpucw" +as_fn_append ac_func_list " ftruncate" +as_fn_append ac_func_list " getrusage" +as_fn_append ac_func_list " lstat" +as_fn_append ac_func_list " mmap" +as_fn_append ac_func_list " munmap" +as_fn_append ac_func_list " posix_fallocate" +as_fn_append ac_func_list " sigaction" +as_fn_append ac_func_list " time" +as_fn_append ac_func_list " truncate" # Check that the precious variables saved in the cache have kept the same # value. ac_cache_corrupted=false @@ -3877,6 +3888,41 @@ fi rmdir .tst 2>/dev/null DEPDIR="${am__leading_dot}deps" + + + + + for ac_func in $ac_func_list +do : + as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` +ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" +if eval test \"x\$"$as_ac_var"\" = x"yes"; then : + cat >>confdefs.h <<_ACEOF +#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 +_ACEOF + +fi +done + + + + + + + + + + + + + + + + + + + + case `pwd` in *\ * | *\ *) @@ -7324,29 +7370,6 @@ fi done -for ac_func in getrusage time sigaction __setfpucw -do : - as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` -ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" -if eval test \"x\$"$as_ac_var"\" = x"yes"; then : - cat >>confdefs.h <<_ACEOF -#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 -_ACEOF - -fi -done - -for ac_func in mmap munmap lstat truncate ftruncate posix_fallocate -do : - as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` -ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" -if eval test \"x\$"$as_ac_var"\" = x"yes"; then : - cat >>confdefs.h <<_ACEOF -#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 -_ACEOF - -fi -done ac_fn_c_check_member "$LINENO" "struct stat" "st_dev" "ac_cv_member_struct_stat_st_dev" "#ifdef HAVE_SYS_TYPES_H #include @@ -11248,7 +11271,7 @@ else lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 lt_status=$lt_dlunknown cat > conftest.$ac_ext <<_LT_EOF -#line 11251 "configure" +#line 11274 "configure" #include "confdefs.h" #if HAVE_DLFCN_H @@ -11354,7 +11377,7 @@ else lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 lt_status=$lt_dlunknown cat > conftest.$ac_ext <<_LT_EOF -#line 11357 "configure" +#line 11380 "configure" #include "confdefs.h" #if HAVE_DLFCN_H diff --git a/sim/m4/sim_ac_common.m4 b/sim/m4/sim_ac_common.m4 index 8cb45a8b72a..78451429a83 100644 --- a/sim/m4/sim_ac_common.m4 +++ b/sim/m4/sim_ac_common.m4 @@ -56,8 +56,18 @@ AC_CHECK_HEADERS(unistd.h) AC_CHECK_HEADERS(sys/time.h sys/times.h sys/resource.h sys/mman.h) AC_CHECK_HEADERS(fcntl.h fpu_control.h) AC_CHECK_HEADERS(dlfcn.h sys/stat.h) -AC_CHECK_FUNCS(getrusage time sigaction __setfpucw) -AC_CHECK_FUNCS(mmap munmap lstat truncate ftruncate posix_fallocate) +AC_CHECK_FUNCS_ONCE(m4_flatten([ + __setfpucw + ftruncate + getrusage + lstat + mmap + munmap + posix_fallocate + sigaction + time + truncate +])) AC_CHECK_MEMBERS([[struct stat.st_dev], [struct stat.st_ino], [struct stat.st_mode], [struct stat.st_nlink], [struct stat.st_uid], [struct stat.st_gid], [struct stat.st_rdev], [struct stat.st_size], diff --git a/sim/m68hc11/ChangeLog b/sim/m68hc11/ChangeLog index 8a35a0cb5bf..b344756b01d 100644 --- a/sim/m68hc11/ChangeLog +++ b/sim/m68hc11/ChangeLog @@ -1,3 +1,7 @@ +2021-04-18 Mike Frysinger + + * configure: Regenerate. + 2021-04-12 Mike Frysinger * interp.c (sim_open): Delete 3rd arg to sim_cpu_alloc_all. diff --git a/sim/m68hc11/configure b/sim/m68hc11/configure index 8185d98a4d9..4118c3e72ae 100755 --- a/sim/m68hc11/configure +++ b/sim/m68hc11/configure @@ -629,6 +629,7 @@ ac_includes_default="\ # include #endif" +ac_func_list= ac_subst_vars='LTLIBOBJS LIBOBJS sim_reserved_bits @@ -2291,6 +2292,16 @@ $as_echo "$as_me: creating cache $cache_file" >&6;} >$cache_file fi +as_fn_append ac_func_list " __setfpucw" +as_fn_append ac_func_list " ftruncate" +as_fn_append ac_func_list " getrusage" +as_fn_append ac_func_list " lstat" +as_fn_append ac_func_list " mmap" +as_fn_append ac_func_list " munmap" +as_fn_append ac_func_list " posix_fallocate" +as_fn_append ac_func_list " sigaction" +as_fn_append ac_func_list " time" +as_fn_append ac_func_list " truncate" # Check that the precious variables saved in the cache have kept the same # value. ac_cache_corrupted=false @@ -3864,6 +3875,41 @@ fi rmdir .tst 2>/dev/null DEPDIR="${am__leading_dot}deps" + + + + + for ac_func in $ac_func_list +do : + as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` +ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" +if eval test \"x\$"$as_ac_var"\" = x"yes"; then : + cat >>confdefs.h <<_ACEOF +#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 +_ACEOF + +fi +done + + + + + + + + + + + + + + + + + + + + case `pwd` in *\ * | *\ *) @@ -7311,29 +7357,6 @@ fi done -for ac_func in getrusage time sigaction __setfpucw -do : - as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` -ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" -if eval test \"x\$"$as_ac_var"\" = x"yes"; then : - cat >>confdefs.h <<_ACEOF -#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 -_ACEOF - -fi -done - -for ac_func in mmap munmap lstat truncate ftruncate posix_fallocate -do : - as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` -ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" -if eval test \"x\$"$as_ac_var"\" = x"yes"; then : - cat >>confdefs.h <<_ACEOF -#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 -_ACEOF - -fi -done ac_fn_c_check_member "$LINENO" "struct stat" "st_dev" "ac_cv_member_struct_stat_st_dev" "#ifdef HAVE_SYS_TYPES_H #include @@ -11235,7 +11258,7 @@ else lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 lt_status=$lt_dlunknown cat > conftest.$ac_ext <<_LT_EOF -#line 11238 "configure" +#line 11261 "configure" #include "confdefs.h" #if HAVE_DLFCN_H @@ -11341,7 +11364,7 @@ else lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 lt_status=$lt_dlunknown cat > conftest.$ac_ext <<_LT_EOF -#line 11344 "configure" +#line 11367 "configure" #include "confdefs.h" #if HAVE_DLFCN_H diff --git a/sim/mcore/ChangeLog b/sim/mcore/ChangeLog index 00da8817104..d79344bbf4b 100644 --- a/sim/mcore/ChangeLog +++ b/sim/mcore/ChangeLog @@ -1,3 +1,7 @@ +2021-04-18 Mike Frysinger + + * configure: Regenerate. + 2021-04-12 Mike Frysinger * interp.c (sim_open): Delete 3rd arg to sim_cpu_alloc_all. diff --git a/sim/mcore/configure b/sim/mcore/configure index 7bde3b270c3..f6507764c33 100755 --- a/sim/mcore/configure +++ b/sim/mcore/configure @@ -629,6 +629,7 @@ ac_includes_default="\ # include #endif" +ac_func_list= ac_subst_vars='LTLIBOBJS LIBOBJS sim_reserved_bits @@ -2288,6 +2289,16 @@ $as_echo "$as_me: creating cache $cache_file" >&6;} >$cache_file fi +as_fn_append ac_func_list " __setfpucw" +as_fn_append ac_func_list " ftruncate" +as_fn_append ac_func_list " getrusage" +as_fn_append ac_func_list " lstat" +as_fn_append ac_func_list " mmap" +as_fn_append ac_func_list " munmap" +as_fn_append ac_func_list " posix_fallocate" +as_fn_append ac_func_list " sigaction" +as_fn_append ac_func_list " time" +as_fn_append ac_func_list " truncate" # Check that the precious variables saved in the cache have kept the same # value. ac_cache_corrupted=false @@ -3861,6 +3872,41 @@ fi rmdir .tst 2>/dev/null DEPDIR="${am__leading_dot}deps" + + + + + for ac_func in $ac_func_list +do : + as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` +ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" +if eval test \"x\$"$as_ac_var"\" = x"yes"; then : + cat >>confdefs.h <<_ACEOF +#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 +_ACEOF + +fi +done + + + + + + + + + + + + + + + + + + + + case `pwd` in *\ * | *\ *) @@ -7308,29 +7354,6 @@ fi done -for ac_func in getrusage time sigaction __setfpucw -do : - as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` -ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" -if eval test \"x\$"$as_ac_var"\" = x"yes"; then : - cat >>confdefs.h <<_ACEOF -#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 -_ACEOF - -fi -done - -for ac_func in mmap munmap lstat truncate ftruncate posix_fallocate -do : - as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` -ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" -if eval test \"x\$"$as_ac_var"\" = x"yes"; then : - cat >>confdefs.h <<_ACEOF -#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 -_ACEOF - -fi -done ac_fn_c_check_member "$LINENO" "struct stat" "st_dev" "ac_cv_member_struct_stat_st_dev" "#ifdef HAVE_SYS_TYPES_H #include @@ -11232,7 +11255,7 @@ else lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 lt_status=$lt_dlunknown cat > conftest.$ac_ext <<_LT_EOF -#line 11235 "configure" +#line 11258 "configure" #include "confdefs.h" #if HAVE_DLFCN_H @@ -11338,7 +11361,7 @@ else lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 lt_status=$lt_dlunknown cat > conftest.$ac_ext <<_LT_EOF -#line 11341 "configure" +#line 11364 "configure" #include "confdefs.h" #if HAVE_DLFCN_H diff --git a/sim/microblaze/ChangeLog b/sim/microblaze/ChangeLog index 48b264c713d..cf3ddb22d32 100644 --- a/sim/microblaze/ChangeLog +++ b/sim/microblaze/ChangeLog @@ -1,3 +1,7 @@ +2021-04-18 Mike Frysinger + + * configure: Regenerate. + 2021-04-12 Mike Frysinger * interp.c (sim_open): Delete 3rd arg to sim_cpu_alloc_all. diff --git a/sim/microblaze/configure b/sim/microblaze/configure index 7e8c3452ce8..11da84924a2 100755 --- a/sim/microblaze/configure +++ b/sim/microblaze/configure @@ -629,6 +629,7 @@ ac_includes_default="\ # include #endif" +ac_func_list= ac_subst_vars='LTLIBOBJS LIBOBJS sim_reserved_bits @@ -2288,6 +2289,16 @@ $as_echo "$as_me: creating cache $cache_file" >&6;} >$cache_file fi +as_fn_append ac_func_list " __setfpucw" +as_fn_append ac_func_list " ftruncate" +as_fn_append ac_func_list " getrusage" +as_fn_append ac_func_list " lstat" +as_fn_append ac_func_list " mmap" +as_fn_append ac_func_list " munmap" +as_fn_append ac_func_list " posix_fallocate" +as_fn_append ac_func_list " sigaction" +as_fn_append ac_func_list " time" +as_fn_append ac_func_list " truncate" # Check that the precious variables saved in the cache have kept the same # value. ac_cache_corrupted=false @@ -3861,6 +3872,41 @@ fi rmdir .tst 2>/dev/null DEPDIR="${am__leading_dot}deps" + + + + + for ac_func in $ac_func_list +do : + as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` +ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" +if eval test \"x\$"$as_ac_var"\" = x"yes"; then : + cat >>confdefs.h <<_ACEOF +#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 +_ACEOF + +fi +done + + + + + + + + + + + + + + + + + + + + case `pwd` in *\ * | *\ *) @@ -7308,29 +7354,6 @@ fi done -for ac_func in getrusage time sigaction __setfpucw -do : - as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` -ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" -if eval test \"x\$"$as_ac_var"\" = x"yes"; then : - cat >>confdefs.h <<_ACEOF -#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 -_ACEOF - -fi -done - -for ac_func in mmap munmap lstat truncate ftruncate posix_fallocate -do : - as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` -ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" -if eval test \"x\$"$as_ac_var"\" = x"yes"; then : - cat >>confdefs.h <<_ACEOF -#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 -_ACEOF - -fi -done ac_fn_c_check_member "$LINENO" "struct stat" "st_dev" "ac_cv_member_struct_stat_st_dev" "#ifdef HAVE_SYS_TYPES_H #include @@ -11232,7 +11255,7 @@ else lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 lt_status=$lt_dlunknown cat > conftest.$ac_ext <<_LT_EOF -#line 11235 "configure" +#line 11258 "configure" #include "confdefs.h" #if HAVE_DLFCN_H @@ -11338,7 +11361,7 @@ else lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 lt_status=$lt_dlunknown cat > conftest.$ac_ext <<_LT_EOF -#line 11341 "configure" +#line 11364 "configure" #include "confdefs.h" #if HAVE_DLFCN_H diff --git a/sim/mips/ChangeLog b/sim/mips/ChangeLog index b1580749668..b5ca7e71485 100644 --- a/sim/mips/ChangeLog +++ b/sim/mips/ChangeLog @@ -1,3 +1,7 @@ +2021-04-18 Mike Frysinger + + * configure: Regenerate. + 2021-04-12 Mike Frysinger * interp.c (sim_open): Delete 3rd arg to sim_cpu_alloc_all. diff --git a/sim/mips/configure b/sim/mips/configure index e89ed1c83e5..d623dda6401 100755 --- a/sim/mips/configure +++ b/sim/mips/configure @@ -629,6 +629,7 @@ ac_includes_default="\ # include #endif" +ac_func_list= ac_subst_vars='LTLIBOBJS LIBOBJS sim_default_model @@ -2321,6 +2322,16 @@ $as_echo "$as_me: creating cache $cache_file" >&6;} >$cache_file fi +as_fn_append ac_func_list " __setfpucw" +as_fn_append ac_func_list " ftruncate" +as_fn_append ac_func_list " getrusage" +as_fn_append ac_func_list " lstat" +as_fn_append ac_func_list " mmap" +as_fn_append ac_func_list " munmap" +as_fn_append ac_func_list " posix_fallocate" +as_fn_append ac_func_list " sigaction" +as_fn_append ac_func_list " time" +as_fn_append ac_func_list " truncate" # Check that the precious variables saved in the cache have kept the same # value. ac_cache_corrupted=false @@ -3894,6 +3905,41 @@ fi rmdir .tst 2>/dev/null DEPDIR="${am__leading_dot}deps" + + + + + for ac_func in $ac_func_list +do : + as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` +ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" +if eval test \"x\$"$as_ac_var"\" = x"yes"; then : + cat >>confdefs.h <<_ACEOF +#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 +_ACEOF + +fi +done + + + + + + + + + + + + + + + + + + + + case `pwd` in *\ * | *\ *) @@ -7341,29 +7387,6 @@ fi done -for ac_func in getrusage time sigaction __setfpucw -do : - as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` -ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" -if eval test \"x\$"$as_ac_var"\" = x"yes"; then : - cat >>confdefs.h <<_ACEOF -#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 -_ACEOF - -fi -done - -for ac_func in mmap munmap lstat truncate ftruncate posix_fallocate -do : - as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` -ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" -if eval test \"x\$"$as_ac_var"\" = x"yes"; then : - cat >>confdefs.h <<_ACEOF -#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 -_ACEOF - -fi -done ac_fn_c_check_member "$LINENO" "struct stat" "st_dev" "ac_cv_member_struct_stat_st_dev" "#ifdef HAVE_SYS_TYPES_H #include @@ -11265,7 +11288,7 @@ else lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 lt_status=$lt_dlunknown cat > conftest.$ac_ext <<_LT_EOF -#line 11268 "configure" +#line 11291 "configure" #include "confdefs.h" #if HAVE_DLFCN_H @@ -11371,7 +11394,7 @@ else lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 lt_status=$lt_dlunknown cat > conftest.$ac_ext <<_LT_EOF -#line 11374 "configure" +#line 11397 "configure" #include "confdefs.h" #if HAVE_DLFCN_H diff --git a/sim/mn10300/ChangeLog b/sim/mn10300/ChangeLog index a56f0a37441..76f110acf43 100644 --- a/sim/mn10300/ChangeLog +++ b/sim/mn10300/ChangeLog @@ -1,3 +1,7 @@ +2021-04-18 Mike Frysinger + + * configure: Regenerate. + 2021-04-18 Mike Frysinger * configure.ac: Delete AC_CHECK_FUNCS & AC_CHECK_HEADERS calls. diff --git a/sim/mn10300/configure b/sim/mn10300/configure index 0042c83b332..410837eb6f4 100755 --- a/sim/mn10300/configure +++ b/sim/mn10300/configure @@ -629,6 +629,7 @@ ac_includes_default="\ # include #endif" +ac_func_list= ac_subst_vars='LTLIBOBJS LIBOBJS sim_default_model @@ -2297,6 +2298,16 @@ $as_echo "$as_me: creating cache $cache_file" >&6;} >$cache_file fi +as_fn_append ac_func_list " __setfpucw" +as_fn_append ac_func_list " ftruncate" +as_fn_append ac_func_list " getrusage" +as_fn_append ac_func_list " lstat" +as_fn_append ac_func_list " mmap" +as_fn_append ac_func_list " munmap" +as_fn_append ac_func_list " posix_fallocate" +as_fn_append ac_func_list " sigaction" +as_fn_append ac_func_list " time" +as_fn_append ac_func_list " truncate" # Check that the precious variables saved in the cache have kept the same # value. ac_cache_corrupted=false @@ -3870,6 +3881,41 @@ fi rmdir .tst 2>/dev/null DEPDIR="${am__leading_dot}deps" + + + + + for ac_func in $ac_func_list +do : + as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` +ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" +if eval test \"x\$"$as_ac_var"\" = x"yes"; then : + cat >>confdefs.h <<_ACEOF +#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 +_ACEOF + +fi +done + + + + + + + + + + + + + + + + + + + + case `pwd` in *\ * | *\ *) @@ -7317,29 +7363,6 @@ fi done -for ac_func in getrusage time sigaction __setfpucw -do : - as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` -ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" -if eval test \"x\$"$as_ac_var"\" = x"yes"; then : - cat >>confdefs.h <<_ACEOF -#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 -_ACEOF - -fi -done - -for ac_func in mmap munmap lstat truncate ftruncate posix_fallocate -do : - as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` -ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" -if eval test \"x\$"$as_ac_var"\" = x"yes"; then : - cat >>confdefs.h <<_ACEOF -#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 -_ACEOF - -fi -done ac_fn_c_check_member "$LINENO" "struct stat" "st_dev" "ac_cv_member_struct_stat_st_dev" "#ifdef HAVE_SYS_TYPES_H #include @@ -11241,7 +11264,7 @@ else lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 lt_status=$lt_dlunknown cat > conftest.$ac_ext <<_LT_EOF -#line 11244 "configure" +#line 11267 "configure" #include "confdefs.h" #if HAVE_DLFCN_H @@ -11347,7 +11370,7 @@ else lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 lt_status=$lt_dlunknown cat > conftest.$ac_ext <<_LT_EOF -#line 11350 "configure" +#line 11373 "configure" #include "confdefs.h" #if HAVE_DLFCN_H diff --git a/sim/moxie/ChangeLog b/sim/moxie/ChangeLog index 7814bcfd735..b6e91a24bda 100644 --- a/sim/moxie/ChangeLog +++ b/sim/moxie/ChangeLog @@ -1,3 +1,7 @@ +2021-04-18 Mike Frysinger + + * configure: Regenerate. + 2021-04-12 Mike Frysinger * interp.c (sim_open): Delete 3rd arg to sim_cpu_alloc_all. diff --git a/sim/moxie/configure b/sim/moxie/configure index cf51ce0f548..5aad79cbeff 100755 --- a/sim/moxie/configure +++ b/sim/moxie/configure @@ -629,6 +629,7 @@ ac_includes_default="\ # include #endif" +ac_func_list= ac_subst_vars='LTLIBOBJS LIBOBJS sim_reserved_bits @@ -2289,6 +2290,16 @@ $as_echo "$as_me: creating cache $cache_file" >&6;} >$cache_file fi +as_fn_append ac_func_list " __setfpucw" +as_fn_append ac_func_list " ftruncate" +as_fn_append ac_func_list " getrusage" +as_fn_append ac_func_list " lstat" +as_fn_append ac_func_list " mmap" +as_fn_append ac_func_list " munmap" +as_fn_append ac_func_list " posix_fallocate" +as_fn_append ac_func_list " sigaction" +as_fn_append ac_func_list " time" +as_fn_append ac_func_list " truncate" # Check that the precious variables saved in the cache have kept the same # value. ac_cache_corrupted=false @@ -3862,6 +3873,41 @@ fi rmdir .tst 2>/dev/null DEPDIR="${am__leading_dot}deps" + + + + + for ac_func in $ac_func_list +do : + as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` +ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" +if eval test \"x\$"$as_ac_var"\" = x"yes"; then : + cat >>confdefs.h <<_ACEOF +#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 +_ACEOF + +fi +done + + + + + + + + + + + + + + + + + + + + case `pwd` in *\ * | *\ *) @@ -7309,29 +7355,6 @@ fi done -for ac_func in getrusage time sigaction __setfpucw -do : - as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` -ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" -if eval test \"x\$"$as_ac_var"\" = x"yes"; then : - cat >>confdefs.h <<_ACEOF -#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 -_ACEOF - -fi -done - -for ac_func in mmap munmap lstat truncate ftruncate posix_fallocate -do : - as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` -ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" -if eval test \"x\$"$as_ac_var"\" = x"yes"; then : - cat >>confdefs.h <<_ACEOF -#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 -_ACEOF - -fi -done ac_fn_c_check_member "$LINENO" "struct stat" "st_dev" "ac_cv_member_struct_stat_st_dev" "#ifdef HAVE_SYS_TYPES_H #include @@ -11233,7 +11256,7 @@ else lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 lt_status=$lt_dlunknown cat > conftest.$ac_ext <<_LT_EOF -#line 11236 "configure" +#line 11259 "configure" #include "confdefs.h" #if HAVE_DLFCN_H @@ -11339,7 +11362,7 @@ else lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 lt_status=$lt_dlunknown cat > conftest.$ac_ext <<_LT_EOF -#line 11342 "configure" +#line 11365 "configure" #include "confdefs.h" #if HAVE_DLFCN_H diff --git a/sim/msp430/ChangeLog b/sim/msp430/ChangeLog index 80bd1b2a231..3fb96802f66 100644 --- a/sim/msp430/ChangeLog +++ b/sim/msp430/ChangeLog @@ -1,3 +1,7 @@ +2021-04-18 Mike Frysinger + + * configure: Regenerate. + 2021-04-12 Mike Frysinger * msp430-sim.c (sim_open): Delete 3rd arg to sim_cpu_alloc_all. diff --git a/sim/msp430/configure b/sim/msp430/configure index f2e49ba6730..86a1946b466 100755 --- a/sim/msp430/configure +++ b/sim/msp430/configure @@ -629,6 +629,7 @@ ac_includes_default="\ # include #endif" +ac_func_list= ac_subst_vars='LTLIBOBJS LIBOBJS sim_reserved_bits @@ -2288,6 +2289,16 @@ $as_echo "$as_me: creating cache $cache_file" >&6;} >$cache_file fi +as_fn_append ac_func_list " __setfpucw" +as_fn_append ac_func_list " ftruncate" +as_fn_append ac_func_list " getrusage" +as_fn_append ac_func_list " lstat" +as_fn_append ac_func_list " mmap" +as_fn_append ac_func_list " munmap" +as_fn_append ac_func_list " posix_fallocate" +as_fn_append ac_func_list " sigaction" +as_fn_append ac_func_list " time" +as_fn_append ac_func_list " truncate" # Check that the precious variables saved in the cache have kept the same # value. ac_cache_corrupted=false @@ -3861,6 +3872,41 @@ fi rmdir .tst 2>/dev/null DEPDIR="${am__leading_dot}deps" + + + + + for ac_func in $ac_func_list +do : + as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` +ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" +if eval test \"x\$"$as_ac_var"\" = x"yes"; then : + cat >>confdefs.h <<_ACEOF +#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 +_ACEOF + +fi +done + + + + + + + + + + + + + + + + + + + + case `pwd` in *\ * | *\ *) @@ -7308,29 +7354,6 @@ fi done -for ac_func in getrusage time sigaction __setfpucw -do : - as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` -ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" -if eval test \"x\$"$as_ac_var"\" = x"yes"; then : - cat >>confdefs.h <<_ACEOF -#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 -_ACEOF - -fi -done - -for ac_func in mmap munmap lstat truncate ftruncate posix_fallocate -do : - as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` -ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" -if eval test \"x\$"$as_ac_var"\" = x"yes"; then : - cat >>confdefs.h <<_ACEOF -#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 -_ACEOF - -fi -done ac_fn_c_check_member "$LINENO" "struct stat" "st_dev" "ac_cv_member_struct_stat_st_dev" "#ifdef HAVE_SYS_TYPES_H #include @@ -11232,7 +11255,7 @@ else lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 lt_status=$lt_dlunknown cat > conftest.$ac_ext <<_LT_EOF -#line 11235 "configure" +#line 11258 "configure" #include "confdefs.h" #if HAVE_DLFCN_H @@ -11338,7 +11361,7 @@ else lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 lt_status=$lt_dlunknown cat > conftest.$ac_ext <<_LT_EOF -#line 11341 "configure" +#line 11364 "configure" #include "confdefs.h" #if HAVE_DLFCN_H diff --git a/sim/or1k/ChangeLog b/sim/or1k/ChangeLog index 710bb223f7b..4b316299169 100644 --- a/sim/or1k/ChangeLog +++ b/sim/or1k/ChangeLog @@ -1,3 +1,7 @@ +2021-04-18 Mike Frysinger + + * configure: Regenerate. + 2021-04-12 Mike Frysinger * sim-if.c (sim_open): Delete 3rd arg to sim_cpu_alloc_all. diff --git a/sim/or1k/configure b/sim/or1k/configure index 8eca2376225..8887e15b395 100755 --- a/sim/or1k/configure +++ b/sim/or1k/configure @@ -629,6 +629,7 @@ ac_includes_default="\ # include #endif" +ac_func_list= ac_subst_vars='LTLIBOBJS LIBOBJS sim_reserved_bits @@ -2301,6 +2302,16 @@ $as_echo "$as_me: creating cache $cache_file" >&6;} >$cache_file fi +as_fn_append ac_func_list " __setfpucw" +as_fn_append ac_func_list " ftruncate" +as_fn_append ac_func_list " getrusage" +as_fn_append ac_func_list " lstat" +as_fn_append ac_func_list " mmap" +as_fn_append ac_func_list " munmap" +as_fn_append ac_func_list " posix_fallocate" +as_fn_append ac_func_list " sigaction" +as_fn_append ac_func_list " time" +as_fn_append ac_func_list " truncate" # Check that the precious variables saved in the cache have kept the same # value. ac_cache_corrupted=false @@ -3874,6 +3885,41 @@ fi rmdir .tst 2>/dev/null DEPDIR="${am__leading_dot}deps" + + + + + for ac_func in $ac_func_list +do : + as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` +ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" +if eval test \"x\$"$as_ac_var"\" = x"yes"; then : + cat >>confdefs.h <<_ACEOF +#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 +_ACEOF + +fi +done + + + + + + + + + + + + + + + + + + + + case `pwd` in *\ * | *\ *) @@ -7321,29 +7367,6 @@ fi done -for ac_func in getrusage time sigaction __setfpucw -do : - as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` -ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" -if eval test \"x\$"$as_ac_var"\" = x"yes"; then : - cat >>confdefs.h <<_ACEOF -#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 -_ACEOF - -fi -done - -for ac_func in mmap munmap lstat truncate ftruncate posix_fallocate -do : - as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` -ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" -if eval test \"x\$"$as_ac_var"\" = x"yes"; then : - cat >>confdefs.h <<_ACEOF -#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 -_ACEOF - -fi -done ac_fn_c_check_member "$LINENO" "struct stat" "st_dev" "ac_cv_member_struct_stat_st_dev" "#ifdef HAVE_SYS_TYPES_H #include @@ -11245,7 +11268,7 @@ else lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 lt_status=$lt_dlunknown cat > conftest.$ac_ext <<_LT_EOF -#line 11248 "configure" +#line 11271 "configure" #include "confdefs.h" #if HAVE_DLFCN_H @@ -11351,7 +11374,7 @@ else lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 lt_status=$lt_dlunknown cat > conftest.$ac_ext <<_LT_EOF -#line 11354 "configure" +#line 11377 "configure" #include "confdefs.h" #if HAVE_DLFCN_H diff --git a/sim/pru/ChangeLog b/sim/pru/ChangeLog index d00bf5fc47f..edfa6f92bcf 100644 --- a/sim/pru/ChangeLog +++ b/sim/pru/ChangeLog @@ -1,3 +1,7 @@ +2021-04-18 Mike Frysinger + + * configure: Regenerate. + 2021-04-12 Mike Frysinger * interp.c (sim_open): Delete 3rd arg to sim_cpu_alloc_all. diff --git a/sim/pru/configure b/sim/pru/configure index 853462d64d5..4488524eea6 100755 --- a/sim/pru/configure +++ b/sim/pru/configure @@ -629,6 +629,7 @@ ac_includes_default="\ # include #endif" +ac_func_list= ac_subst_vars='LTLIBOBJS LIBOBJS sim_reserved_bits @@ -2288,6 +2289,16 @@ $as_echo "$as_me: creating cache $cache_file" >&6;} >$cache_file fi +as_fn_append ac_func_list " __setfpucw" +as_fn_append ac_func_list " ftruncate" +as_fn_append ac_func_list " getrusage" +as_fn_append ac_func_list " lstat" +as_fn_append ac_func_list " mmap" +as_fn_append ac_func_list " munmap" +as_fn_append ac_func_list " posix_fallocate" +as_fn_append ac_func_list " sigaction" +as_fn_append ac_func_list " time" +as_fn_append ac_func_list " truncate" # Check that the precious variables saved in the cache have kept the same # value. ac_cache_corrupted=false @@ -3861,6 +3872,41 @@ fi rmdir .tst 2>/dev/null DEPDIR="${am__leading_dot}deps" + + + + + for ac_func in $ac_func_list +do : + as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` +ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" +if eval test \"x\$"$as_ac_var"\" = x"yes"; then : + cat >>confdefs.h <<_ACEOF +#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 +_ACEOF + +fi +done + + + + + + + + + + + + + + + + + + + + case `pwd` in *\ * | *\ *) @@ -7308,29 +7354,6 @@ fi done -for ac_func in getrusage time sigaction __setfpucw -do : - as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` -ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" -if eval test \"x\$"$as_ac_var"\" = x"yes"; then : - cat >>confdefs.h <<_ACEOF -#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 -_ACEOF - -fi -done - -for ac_func in mmap munmap lstat truncate ftruncate posix_fallocate -do : - as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` -ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" -if eval test \"x\$"$as_ac_var"\" = x"yes"; then : - cat >>confdefs.h <<_ACEOF -#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 -_ACEOF - -fi -done ac_fn_c_check_member "$LINENO" "struct stat" "st_dev" "ac_cv_member_struct_stat_st_dev" "#ifdef HAVE_SYS_TYPES_H #include @@ -11232,7 +11255,7 @@ else lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 lt_status=$lt_dlunknown cat > conftest.$ac_ext <<_LT_EOF -#line 11235 "configure" +#line 11258 "configure" #include "confdefs.h" #if HAVE_DLFCN_H @@ -11338,7 +11361,7 @@ else lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 lt_status=$lt_dlunknown cat > conftest.$ac_ext <<_LT_EOF -#line 11341 "configure" +#line 11364 "configure" #include "confdefs.h" #if HAVE_DLFCN_H diff --git a/sim/riscv/ChangeLog b/sim/riscv/ChangeLog index f69e4e95676..51cbf8c73ac 100644 --- a/sim/riscv/ChangeLog +++ b/sim/riscv/ChangeLog @@ -1,3 +1,7 @@ +2021-04-18 Mike Frysinger + + * configure: Regenerate. + 2021-04-12 Mike Frysinger * interp.c (sim_open): Delete 3rd arg to sim_cpu_alloc_all. diff --git a/sim/riscv/configure b/sim/riscv/configure index d631f311703..fca9986f74f 100755 --- a/sim/riscv/configure +++ b/sim/riscv/configure @@ -629,6 +629,7 @@ ac_includes_default="\ # include #endif" +ac_func_list= ac_subst_vars='LTLIBOBJS LIBOBJS sim_reserved_bits @@ -2293,6 +2294,16 @@ $as_echo "$as_me: creating cache $cache_file" >&6;} >$cache_file fi +as_fn_append ac_func_list " __setfpucw" +as_fn_append ac_func_list " ftruncate" +as_fn_append ac_func_list " getrusage" +as_fn_append ac_func_list " lstat" +as_fn_append ac_func_list " mmap" +as_fn_append ac_func_list " munmap" +as_fn_append ac_func_list " posix_fallocate" +as_fn_append ac_func_list " sigaction" +as_fn_append ac_func_list " time" +as_fn_append ac_func_list " truncate" # Check that the precious variables saved in the cache have kept the same # value. ac_cache_corrupted=false @@ -3866,6 +3877,41 @@ fi rmdir .tst 2>/dev/null DEPDIR="${am__leading_dot}deps" + + + + + for ac_func in $ac_func_list +do : + as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` +ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" +if eval test \"x\$"$as_ac_var"\" = x"yes"; then : + cat >>confdefs.h <<_ACEOF +#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 +_ACEOF + +fi +done + + + + + + + + + + + + + + + + + + + + case `pwd` in *\ * | *\ *) @@ -7313,29 +7359,6 @@ fi done -for ac_func in getrusage time sigaction __setfpucw -do : - as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` -ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" -if eval test \"x\$"$as_ac_var"\" = x"yes"; then : - cat >>confdefs.h <<_ACEOF -#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 -_ACEOF - -fi -done - -for ac_func in mmap munmap lstat truncate ftruncate posix_fallocate -do : - as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` -ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" -if eval test \"x\$"$as_ac_var"\" = x"yes"; then : - cat >>confdefs.h <<_ACEOF -#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 -_ACEOF - -fi -done ac_fn_c_check_member "$LINENO" "struct stat" "st_dev" "ac_cv_member_struct_stat_st_dev" "#ifdef HAVE_SYS_TYPES_H #include @@ -11237,7 +11260,7 @@ else lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 lt_status=$lt_dlunknown cat > conftest.$ac_ext <<_LT_EOF -#line 11240 "configure" +#line 11263 "configure" #include "confdefs.h" #if HAVE_DLFCN_H @@ -11343,7 +11366,7 @@ else lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 lt_status=$lt_dlunknown cat > conftest.$ac_ext <<_LT_EOF -#line 11346 "configure" +#line 11369 "configure" #include "confdefs.h" #if HAVE_DLFCN_H diff --git a/sim/rl78/ChangeLog b/sim/rl78/ChangeLog index 15470b5f5e3..4aa6b1f6edb 100644 --- a/sim/rl78/ChangeLog +++ b/sim/rl78/ChangeLog @@ -1,3 +1,7 @@ +2021-04-18 Mike Frysinger + + * configure: Regenerate. + 2021-04-02 Mike Frysinger * aclocal.m4, configure: Regenerate. diff --git a/sim/rl78/configure b/sim/rl78/configure index 903ba63a58f..a164b130556 100755 --- a/sim/rl78/configure +++ b/sim/rl78/configure @@ -629,6 +629,7 @@ ac_includes_default="\ # include #endif" +ac_func_list= ac_subst_vars='LTLIBOBJS LIBOBJS sim_reserved_bits @@ -2281,6 +2282,16 @@ $as_echo "$as_me: creating cache $cache_file" >&6;} >$cache_file fi +as_fn_append ac_func_list " __setfpucw" +as_fn_append ac_func_list " ftruncate" +as_fn_append ac_func_list " getrusage" +as_fn_append ac_func_list " lstat" +as_fn_append ac_func_list " mmap" +as_fn_append ac_func_list " munmap" +as_fn_append ac_func_list " posix_fallocate" +as_fn_append ac_func_list " sigaction" +as_fn_append ac_func_list " time" +as_fn_append ac_func_list " truncate" # Check that the precious variables saved in the cache have kept the same # value. ac_cache_corrupted=false @@ -3854,6 +3865,41 @@ fi rmdir .tst 2>/dev/null DEPDIR="${am__leading_dot}deps" + + + + + for ac_func in $ac_func_list +do : + as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` +ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" +if eval test \"x\$"$as_ac_var"\" = x"yes"; then : + cat >>confdefs.h <<_ACEOF +#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 +_ACEOF + +fi +done + + + + + + + + + + + + + + + + + + + + case `pwd` in *\ * | *\ *) @@ -7301,29 +7347,6 @@ fi done -for ac_func in getrusage time sigaction __setfpucw -do : - as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` -ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" -if eval test \"x\$"$as_ac_var"\" = x"yes"; then : - cat >>confdefs.h <<_ACEOF -#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 -_ACEOF - -fi -done - -for ac_func in mmap munmap lstat truncate ftruncate posix_fallocate -do : - as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` -ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" -if eval test \"x\$"$as_ac_var"\" = x"yes"; then : - cat >>confdefs.h <<_ACEOF -#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 -_ACEOF - -fi -done ac_fn_c_check_member "$LINENO" "struct stat" "st_dev" "ac_cv_member_struct_stat_st_dev" "#ifdef HAVE_SYS_TYPES_H #include @@ -11225,7 +11248,7 @@ else lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 lt_status=$lt_dlunknown cat > conftest.$ac_ext <<_LT_EOF -#line 11228 "configure" +#line 11251 "configure" #include "confdefs.h" #if HAVE_DLFCN_H @@ -11331,7 +11354,7 @@ else lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 lt_status=$lt_dlunknown cat > conftest.$ac_ext <<_LT_EOF -#line 11334 "configure" +#line 11357 "configure" #include "confdefs.h" #if HAVE_DLFCN_H diff --git a/sim/rx/ChangeLog b/sim/rx/ChangeLog index d37093e61cd..618b0c0df06 100644 --- a/sim/rx/ChangeLog +++ b/sim/rx/ChangeLog @@ -1,3 +1,7 @@ +2021-04-18 Mike Frysinger + + * configure: Regenerate. + 2021-04-09 Luis Machado * fpu.c (rxfp_itof): Initialize structure. diff --git a/sim/rx/configure b/sim/rx/configure index bfb8c79ecfa..592bd0b79f5 100755 --- a/sim/rx/configure +++ b/sim/rx/configure @@ -629,6 +629,7 @@ ac_includes_default="\ # include #endif" +ac_func_list= ac_subst_vars='LTLIBOBJS LIBOBJS sim_reserved_bits @@ -2286,6 +2287,16 @@ $as_echo "$as_me: creating cache $cache_file" >&6;} >$cache_file fi +as_fn_append ac_func_list " __setfpucw" +as_fn_append ac_func_list " ftruncate" +as_fn_append ac_func_list " getrusage" +as_fn_append ac_func_list " lstat" +as_fn_append ac_func_list " mmap" +as_fn_append ac_func_list " munmap" +as_fn_append ac_func_list " posix_fallocate" +as_fn_append ac_func_list " sigaction" +as_fn_append ac_func_list " time" +as_fn_append ac_func_list " truncate" # Check that the precious variables saved in the cache have kept the same # value. ac_cache_corrupted=false @@ -3859,6 +3870,41 @@ fi rmdir .tst 2>/dev/null DEPDIR="${am__leading_dot}deps" + + + + + for ac_func in $ac_func_list +do : + as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` +ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" +if eval test \"x\$"$as_ac_var"\" = x"yes"; then : + cat >>confdefs.h <<_ACEOF +#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 +_ACEOF + +fi +done + + + + + + + + + + + + + + + + + + + + case `pwd` in *\ * | *\ *) @@ -7306,29 +7352,6 @@ fi done -for ac_func in getrusage time sigaction __setfpucw -do : - as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` -ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" -if eval test \"x\$"$as_ac_var"\" = x"yes"; then : - cat >>confdefs.h <<_ACEOF -#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 -_ACEOF - -fi -done - -for ac_func in mmap munmap lstat truncate ftruncate posix_fallocate -do : - as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` -ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" -if eval test \"x\$"$as_ac_var"\" = x"yes"; then : - cat >>confdefs.h <<_ACEOF -#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 -_ACEOF - -fi -done ac_fn_c_check_member "$LINENO" "struct stat" "st_dev" "ac_cv_member_struct_stat_st_dev" "#ifdef HAVE_SYS_TYPES_H #include @@ -11230,7 +11253,7 @@ else lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 lt_status=$lt_dlunknown cat > conftest.$ac_ext <<_LT_EOF -#line 11233 "configure" +#line 11256 "configure" #include "confdefs.h" #if HAVE_DLFCN_H @@ -11336,7 +11359,7 @@ else lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 lt_status=$lt_dlunknown cat > conftest.$ac_ext <<_LT_EOF -#line 11339 "configure" +#line 11362 "configure" #include "confdefs.h" #if HAVE_DLFCN_H diff --git a/sim/sh/ChangeLog b/sim/sh/ChangeLog index 8a62318bbf0..1389261de16 100644 --- a/sim/sh/ChangeLog +++ b/sim/sh/ChangeLog @@ -1,3 +1,7 @@ +2021-04-18 Mike Frysinger + + * configure: Regenerate. + 2021-04-12 Mike Frysinger * interp.c (sim_open): Delete 3rd arg to sim_cpu_alloc_all. diff --git a/sim/sh/configure b/sim/sh/configure index 7bde3b270c3..f6507764c33 100755 --- a/sim/sh/configure +++ b/sim/sh/configure @@ -629,6 +629,7 @@ ac_includes_default="\ # include #endif" +ac_func_list= ac_subst_vars='LTLIBOBJS LIBOBJS sim_reserved_bits @@ -2288,6 +2289,16 @@ $as_echo "$as_me: creating cache $cache_file" >&6;} >$cache_file fi +as_fn_append ac_func_list " __setfpucw" +as_fn_append ac_func_list " ftruncate" +as_fn_append ac_func_list " getrusage" +as_fn_append ac_func_list " lstat" +as_fn_append ac_func_list " mmap" +as_fn_append ac_func_list " munmap" +as_fn_append ac_func_list " posix_fallocate" +as_fn_append ac_func_list " sigaction" +as_fn_append ac_func_list " time" +as_fn_append ac_func_list " truncate" # Check that the precious variables saved in the cache have kept the same # value. ac_cache_corrupted=false @@ -3861,6 +3872,41 @@ fi rmdir .tst 2>/dev/null DEPDIR="${am__leading_dot}deps" + + + + + for ac_func in $ac_func_list +do : + as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` +ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" +if eval test \"x\$"$as_ac_var"\" = x"yes"; then : + cat >>confdefs.h <<_ACEOF +#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 +_ACEOF + +fi +done + + + + + + + + + + + + + + + + + + + + case `pwd` in *\ * | *\ *) @@ -7308,29 +7354,6 @@ fi done -for ac_func in getrusage time sigaction __setfpucw -do : - as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` -ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" -if eval test \"x\$"$as_ac_var"\" = x"yes"; then : - cat >>confdefs.h <<_ACEOF -#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 -_ACEOF - -fi -done - -for ac_func in mmap munmap lstat truncate ftruncate posix_fallocate -do : - as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` -ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" -if eval test \"x\$"$as_ac_var"\" = x"yes"; then : - cat >>confdefs.h <<_ACEOF -#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 -_ACEOF - -fi -done ac_fn_c_check_member "$LINENO" "struct stat" "st_dev" "ac_cv_member_struct_stat_st_dev" "#ifdef HAVE_SYS_TYPES_H #include @@ -11232,7 +11255,7 @@ else lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 lt_status=$lt_dlunknown cat > conftest.$ac_ext <<_LT_EOF -#line 11235 "configure" +#line 11258 "configure" #include "confdefs.h" #if HAVE_DLFCN_H @@ -11338,7 +11361,7 @@ else lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 lt_status=$lt_dlunknown cat > conftest.$ac_ext <<_LT_EOF -#line 11341 "configure" +#line 11364 "configure" #include "confdefs.h" #if HAVE_DLFCN_H diff --git a/sim/v850/ChangeLog b/sim/v850/ChangeLog index 460706312c0..91741a1b396 100644 --- a/sim/v850/ChangeLog +++ b/sim/v850/ChangeLog @@ -1,3 +1,9 @@ +2021-04-18 Mike Frysinger + + * configure.ac: Change AC_CHECK_FUNCS to AC_CHECK_FUNCS_ONCE and + delete time. + * configure: Regenerate. + 2021-04-12 Mike Frysinger * interp.c (sim_open): Delete 3rd arg to sim_cpu_alloc_all. diff --git a/sim/v850/configure b/sim/v850/configure index 3f1085fc332..818ccd257b8 100755 --- a/sim/v850/configure +++ b/sim/v850/configure @@ -629,6 +629,7 @@ ac_includes_default="\ # include #endif" +ac_func_list= ac_subst_vars='LTLIBOBJS LIBOBJS sim_hw @@ -2294,6 +2295,22 @@ $as_echo "$as_me: creating cache $cache_file" >&6;} >$cache_file fi +as_fn_append ac_func_list " __setfpucw" +as_fn_append ac_func_list " ftruncate" +as_fn_append ac_func_list " getrusage" +as_fn_append ac_func_list " lstat" +as_fn_append ac_func_list " mmap" +as_fn_append ac_func_list " munmap" +as_fn_append ac_func_list " posix_fallocate" +as_fn_append ac_func_list " sigaction" +as_fn_append ac_func_list " time" +as_fn_append ac_func_list " truncate" +as_fn_append ac_func_list " chmod" +as_fn_append ac_func_list " utime" +as_fn_append ac_func_list " fork" +as_fn_append ac_func_list " execve" +as_fn_append ac_func_list " execv" +as_fn_append ac_func_list " chown" # Check that the precious variables saved in the cache have kept the same # value. ac_cache_corrupted=false @@ -3867,6 +3884,41 @@ fi rmdir .tst 2>/dev/null DEPDIR="${am__leading_dot}deps" + + + + + for ac_func in $ac_func_list +do : + as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` +ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" +if eval test \"x\$"$as_ac_var"\" = x"yes"; then : + cat >>confdefs.h <<_ACEOF +#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 +_ACEOF + +fi +done + + + + + + + + + + + + + + + + + + + + case `pwd` in *\ * | *\ *) @@ -7314,29 +7366,6 @@ fi done -for ac_func in getrusage time sigaction __setfpucw -do : - as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` -ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" -if eval test \"x\$"$as_ac_var"\" = x"yes"; then : - cat >>confdefs.h <<_ACEOF -#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 -_ACEOF - -fi -done - -for ac_func in mmap munmap lstat truncate ftruncate posix_fallocate -do : - as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` -ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" -if eval test \"x\$"$as_ac_var"\" = x"yes"; then : - cat >>confdefs.h <<_ACEOF -#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 -_ACEOF - -fi -done ac_fn_c_check_member "$LINENO" "struct stat" "st_dev" "ac_cv_member_struct_stat_st_dev" "#ifdef HAVE_SYS_TYPES_H #include @@ -11238,7 +11267,7 @@ else lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 lt_status=$lt_dlunknown cat > conftest.$ac_ext <<_LT_EOF -#line 11241 "configure" +#line 11270 "configure" #include "confdefs.h" #if HAVE_DLFCN_H @@ -11344,7 +11373,7 @@ else lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 lt_status=$lt_dlunknown cat > conftest.$ac_ext <<_LT_EOF -#line 11347 "configure" +#line 11376 "configure" #include "confdefs.h" #if HAVE_DLFCN_H @@ -12059,17 +12088,18 @@ fi fi -for ac_func in time chmod utime fork execve execv chown -do : - as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` -ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" -if eval test \"x\$"$as_ac_var"\" = x"yes"; then : - cat >>confdefs.h <<_ACEOF -#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 -_ACEOF -fi -done + + + + + + + + + + + for ac_header in utime.h do : diff --git a/sim/v850/configure.ac b/sim/v850/configure.ac index 47a5d15cbc6..b2f69c31d8b 100644 --- a/sim/v850/configure.ac +++ b/sim/v850/configure.ac @@ -9,7 +9,7 @@ SIM_AC_OPTION_ALIGNMENT(,NONSTRICT_ALIGNMENT) SIM_AC_OPTION_RESERVED_BITS SIM_AC_OPTION_BITSIZE(32,31) -AC_CHECK_FUNCS(time chmod utime fork execve execv chown) +AC_CHECK_FUNCS_ONCE(chmod utime fork execve execv chown) AC_CHECK_HEADERS(utime.h) SIM_AC_OUTPUT -- 2.30.2