From fe3486178040db782f18d67a95a1e63bdf68eedf Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Sat, 1 May 2021 16:30:59 -0400 Subject: sim: nrun: add local strsignal prototype While libiberty provides a definition for this for systems that lack the function (e.g. Windows), it doesn't provide a prototype. So add our own local copy in the one file that uses the func. --- sim/rl78/configure | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'sim/rl78/configure') diff --git a/sim/rl78/configure b/sim/rl78/configure index 0a61270..e121014 100755 --- a/sim/rl78/configure +++ b/sim/rl78/configure @@ -2298,6 +2298,7 @@ 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 " strsignal" 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 @@ -3940,6 +3941,8 @@ done + + case `pwd` in *\ * | *\ *) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5 @@ -11179,7 +11182,7 @@ else lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 lt_status=$lt_dlunknown cat > conftest.$ac_ext <<_LT_EOF -#line 11182 "configure" +#line 11185 "configure" #include "confdefs.h" #if HAVE_DLFCN_H @@ -11285,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 11288 "configure" +#line 11291 "configure" #include "confdefs.h" #if HAVE_DLFCN_H -- cgit v1.1