diff options
author | Nathan Sidwell <nathan@acm.org> | 2017-01-18 08:23:10 -0500 |
---|---|---|
committer | Nathan Sidwell <nathan@acm.org> | 2017-01-18 08:23:10 -0500 |
commit | 1ec4b9f28bab4400c882a0f3e966eb12b73cee1a (patch) | |
tree | d5c4263ec5061e83bc72f5096247ec0ebec1b892 /gas/configure | |
parent | 319b82e47dd12d6554e17a2ceedd3139b88ba55f (diff) | |
download | gdb-1ec4b9f28bab4400c882a0f3e966eb12b73cee1a.zip gdb-1ec4b9f28bab4400c882a0f3e966eb12b73cee1a.tar.gz gdb-1ec4b9f28bab4400c882a0f3e966eb12b73cee1a.tar.bz2 |
Catch gas exit-via-signal
gas/
* as.h (gas_assert): Use abort.
(as_assert): Remove.
(signal_init): Declare.
* as.c (main): Call signal_init.
* messages.c: #include <signal.h>
(as_assert): Delete.
(as_abort): Allow NULL FILE.
(signal_crash): New.
(signal_init): Register fatal signal handlers.
* configure.ac: Check for strsignal.
* config.in: Rebuilt.
* configure: Rebuilt.
Diffstat (limited to 'gas/configure')
-rwxr-xr-x | gas/configure | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/gas/configure b/gas/configure index 2b54054..d3ae96e 100755 --- a/gas/configure +++ b/gas/configure @@ -13899,6 +13899,17 @@ _ACEOF fi done +for ac_func in strsignal +do : + ac_fn_c_check_func "$LINENO" "strsignal" "ac_cv_func_strsignal" +if test "x$ac_cv_func_strsignal" = x""yes; then : + cat >>confdefs.h <<_ACEOF +#define HAVE_STRSIGNAL 1 +_ACEOF + +fi +done + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LC_MESSAGES" >&5 |