diff options
author | Pedro Alves <palves@redhat.com> | 2015-08-27 13:26:23 +0100 |
---|---|---|
committer | Pedro Alves <palves@redhat.com> | 2015-08-27 13:26:23 +0100 |
commit | 14d88147787588b1473da05adf95980931fd3485 (patch) | |
tree | 5091bc06a1607465f12d84573757fd11a0ec5a84 /gdb/configure | |
parent | gdb: Use sighandler_t everywhere (diff) | |
download | binutils-gdb-14d88147787588b1473da05adf95980931fd3485.tar.gz binutils-gdb-14d88147787588b1473da05adf95980931fd3485.tar.bz2 binutils-gdb-14d88147787588b1473da05adf95980931fd3485.zip |
gdb: Drop use of obsolete AC_TYPE_SIGNAL
Since we're using sighandler_t, nothing else refers to RETSIGTYPE in
gdb.
(Actually, given gdb/remote.c has been assuming signal handlers return
void for a long time, we could have gotten get rid of this even
without gnulib's sighandler_t.)
gdb/ChangeLog:
2015-08-27 Pedro Alves <palves@redhat.com>
* configure.ac: Remove AC_TYPE_SIGNAL call.
* configure, config.in: Regenerate.
Diffstat (limited to 'gdb/configure')
-rwxr-xr-x | gdb/configure | 33 |
1 files changed, 0 insertions, 33 deletions
diff --git a/gdb/configure b/gdb/configure index e420c03640f..fd7ea1c98c6 100755 --- a/gdb/configure +++ b/gdb/configure @@ -11094,39 +11094,6 @@ fi # Checks for types. # # ------------------ # -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking return type of signal handlers" >&5 -$as_echo_n "checking return type of signal handlers... " >&6; } -if test "${ac_cv_type_signal+set}" = set; then : - $as_echo_n "(cached) " >&6 -else - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -#include <sys/types.h> -#include <signal.h> - -int -main () -{ -return *(signal (0, 0)) (0) == 1; - ; - return 0; -} -_ACEOF -if ac_fn_c_try_compile "$LINENO"; then : - ac_cv_type_signal=int -else - ac_cv_type_signal=void -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext -fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_signal" >&5 -$as_echo "$ac_cv_type_signal" >&6; } - -cat >>confdefs.h <<_ACEOF -#define RETSIGTYPE $ac_cv_type_signal -_ACEOF - - ac_fn_c_check_type "$LINENO" "socklen_t" "ac_cv_type_socklen_t" "#include <sys/types.h> #include <sys/socket.h> |