mirror of
https://github.com/tobast/libunwind-eh_elf.git
synced 2025-03-31 19:42:17 +02:00
Rip out AC_TYPE_SIGNAL and sighandler_t check
AC_TYPE_SIGNAL is an obsolete autoconf macro, and we were not using sighandler_t or RETSIGTYPE for anything anyways.
This commit is contained in:
parent
de28c51e63
commit
a06f189baf
3 changed files with 0 additions and 16 deletions
|
@ -42,19 +42,12 @@ AC_CHECK_HEADERS(asm/ptrace_offsets.h endian.h sys/endian.h execinfo.h \
|
||||||
dnl Checks for typedefs, structures, and compiler characteristics.
|
dnl Checks for typedefs, structures, and compiler characteristics.
|
||||||
AC_C_CONST
|
AC_C_CONST
|
||||||
AC_C_INLINE
|
AC_C_INLINE
|
||||||
AC_TYPE_SIGNAL
|
|
||||||
AC_TYPE_SIZE_T
|
AC_TYPE_SIZE_T
|
||||||
AC_CHECK_SIZEOF(off_t)
|
AC_CHECK_SIZEOF(off_t)
|
||||||
|
|
||||||
CPPFLAGS="${CPPFLAGS} -D_GNU_SOURCE"
|
CPPFLAGS="${CPPFLAGS} -D_GNU_SOURCE"
|
||||||
|
|
||||||
AC_CHECK_MEMBERS([struct dl_phdr_info.dlpi_subs],,,[#include <link.h>])
|
AC_CHECK_MEMBERS([struct dl_phdr_info.dlpi_subs],,,[#include <link.h>])
|
||||||
AC_CHECK_TYPES([sighandler_t], [], [],
|
|
||||||
[$ac_includes_default
|
|
||||||
#if HAVE_SIGNAL_H
|
|
||||||
# include <signal.h>
|
|
||||||
#endif
|
|
||||||
])
|
|
||||||
AC_CHECK_TYPES([struct elf_prstatus, struct prstatus], [], [],
|
AC_CHECK_TYPES([struct elf_prstatus, struct prstatus], [], [],
|
||||||
[$ac_includes_default
|
[$ac_includes_default
|
||||||
#if HAVE_SYS_PROCFS_H
|
#if HAVE_SYS_PROCFS_H
|
||||||
|
@ -76,7 +69,6 @@ PT_STEP, PT_SYSCALL], [], [],
|
||||||
|
|
||||||
dnl Checks for library functions.
|
dnl Checks for library functions.
|
||||||
AC_FUNC_MEMCMP
|
AC_FUNC_MEMCMP
|
||||||
AC_TYPE_SIGNAL
|
|
||||||
AC_CHECK_FUNCS(dl_iterate_phdr dl_phdr_removals_counter dlmodinfo getunwind \
|
AC_CHECK_FUNCS(dl_iterate_phdr dl_phdr_removals_counter dlmodinfo getunwind \
|
||||||
ttrace mincore)
|
ttrace mincore)
|
||||||
is_gcc_m64() {
|
is_gcc_m64() {
|
||||||
|
|
|
@ -41,10 +41,6 @@ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
|
||||||
#define panic(args...) \
|
#define panic(args...) \
|
||||||
{ fprintf (stderr, args); exit (-1); }
|
{ fprintf (stderr, args); exit (-1); }
|
||||||
|
|
||||||
#ifndef HAVE_SIGHANDLER_T
|
|
||||||
typedef RETSIGTYPE (*sighandler_t) (int);
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#define SIG_STACK_SIZE 0x100000
|
#define SIG_STACK_SIZE 0x100000
|
||||||
|
|
||||||
int verbose;
|
int verbose;
|
||||||
|
|
|
@ -40,10 +40,6 @@ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
|
||||||
#define panic(args...) \
|
#define panic(args...) \
|
||||||
{ fprintf (stderr, args); exit (-1); }
|
{ fprintf (stderr, args); exit (-1); }
|
||||||
|
|
||||||
#ifndef HAVE_SIGHANDLER_T
|
|
||||||
typedef RETSIGTYPE (*sighandler_t) (int);
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#define SIG_STACK_SIZE 0x100000
|
#define SIG_STACK_SIZE 0x100000
|
||||||
|
|
||||||
int verbose;
|
int verbose;
|
||||||
|
|
Loading…
Add table
Reference in a new issue