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/v850/ChangeLog | 4 ++++ sim/v850/config.in | 3 +++ sim/v850/configure | 7 +++++-- 3 files changed, 12 insertions(+), 2 deletions(-) (limited to 'sim/v850') diff --git a/sim/v850/ChangeLog b/sim/v850/ChangeLog index d46aa59..643d28b 100644 --- a/sim/v850/ChangeLog +++ b/sim/v850/ChangeLog @@ -1,3 +1,7 @@ +2021-05-01 Mike Frysinger + + * config.in, configure: Regenerate. + 2021-04-26 Mike Frysinger * aclocal.m4, config.in, configure: Regenerate. diff --git a/sim/v850/config.in b/sim/v850/config.in index 8249d7c..889d64c 100644 --- a/sim/v850/config.in +++ b/sim/v850/config.in @@ -88,6 +88,9 @@ /* Define to 1 if you have the header file. */ #undef HAVE_STRING_H +/* Define to 1 if you have the `strsignal' function. */ +#undef HAVE_STRSIGNAL + /* Define to 1 if `st_atime' is a member of `struct stat'. */ #undef HAVE_STRUCT_STAT_ST_ATIME diff --git a/sim/v850/configure b/sim/v850/configure index d5941de..32fd512 100755 --- a/sim/v850/configure +++ b/sim/v850/configure @@ -2311,6 +2311,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" as_fn_append ac_func_list " chmod" @@ -3960,6 +3961,8 @@ done + + case `pwd` in *\ * | *\ *) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5 @@ -11199,7 +11202,7 @@ else lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 lt_status=$lt_dlunknown cat > conftest.$ac_ext <<_LT_EOF -#line 11202 "configure" +#line 11205 "configure" #include "confdefs.h" #if HAVE_DLFCN_H @@ -11305,7 +11308,7 @@ else lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 lt_status=$lt_dlunknown cat > conftest.$ac_ext <<_LT_EOF -#line 11308 "configure" +#line 11311 "configure" #include "confdefs.h" #if HAVE_DLFCN_H -- cgit v1.1