aboutsummaryrefslogtreecommitdiff
path: root/sim/m32c/configure
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2021-05-01 16:30:59 -0400
committerMike Frysinger <vapier@gentoo.org>2021-05-01 16:37:39 -0400
commitfe3486178040db782f18d67a95a1e63bdf68eedf (patch)
tree1445ff740a5f797e32834a3df73c0b790fef1345 /sim/m32c/configure
parent2a83fd8f4806f8580d86057dc00bfdb5efcfa1f6 (diff)
downloadbinutils-fe3486178040db782f18d67a95a1e63bdf68eedf.zip
binutils-fe3486178040db782f18d67a95a1e63bdf68eedf.tar.gz
binutils-fe3486178040db782f18d67a95a1e63bdf68eedf.tar.bz2
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.
Diffstat (limited to 'sim/m32c/configure')
-rwxr-xr-xsim/m32c/configure7
1 files changed, 5 insertions, 2 deletions
diff --git a/sim/m32c/configure b/sim/m32c/configure
index c0fa44f..efb30d5 100755
--- a/sim/m32c/configure
+++ b/sim/m32c/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"
as_fn_append ac_header_list " termios.h"
@@ -3945,6 +3946,8 @@ done
+
+
case `pwd` in
*\ * | *\ *)
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
@@ -11184,7 +11187,7 @@ else
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
lt_status=$lt_dlunknown
cat > conftest.$ac_ext <<_LT_EOF
-#line 11187 "configure"
+#line 11190 "configure"
#include "confdefs.h"
#if HAVE_DLFCN_H
@@ -11290,7 +11293,7 @@ else
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
lt_status=$lt_dlunknown
cat > conftest.$ac_ext <<_LT_EOF
-#line 11293 "configure"
+#line 11296 "configure"
#include "confdefs.h"
#if HAVE_DLFCN_H