mirror of
https://github.com/tobast/libunwind-eh_elf.git
synced 2024-12-23 03:53:43 +01:00
Add check for -luca (needed on HP-UX).
Add check for <sys/uc_access.h> (needed on HP-UX). (OS_HPUX): New conditional. (Logical change 1.75)
This commit is contained in:
parent
b513773cb2
commit
ebfaebdee9
1 changed files with 3 additions and 1 deletions
|
@ -15,11 +15,12 @@ AM_PROG_LIBTOOL
|
|||
AM_PROG_AS
|
||||
|
||||
dnl Checks for libraries.
|
||||
AC_CHECK_LIB(uca, __uc_get_grs)
|
||||
|
||||
dnl Checks for header files.
|
||||
AC_HEADER_STDC
|
||||
AC_CHECK_HEADERS(asm/ptrace_offsets.h endian.h execinfo.h ia64intrin.h \
|
||||
unistd.h)
|
||||
sys/uc_access.h unistd.h)
|
||||
|
||||
dnl Checks for typedefs, structures, and compiler characteristics.
|
||||
AC_C_CONST
|
||||
|
@ -50,6 +51,7 @@ AM_CONDITIONAL(ARCH_IA64, test x$target_arch = xia64)
|
|||
AM_CONDITIONAL(ARCH_HPPA, test x$target_arch = xhppa)
|
||||
AM_CONDITIONAL(ARCH_X86, test x$target_arch = xx86)
|
||||
AM_CONDITIONAL(OS_LINUX, expr x$target_os : xlinux >/dev/null)
|
||||
AM_CONDITIONAL(OS_HPUX, expr x$target_os : xhpux >/dev/null)
|
||||
|
||||
if test x$target_arch != x$build_arch; then
|
||||
CPPFLAGS="${CPPFLAGS} -DUNW_REMOTE_ONLY"
|
||||
|
|
Loading…
Reference in a new issue