mirror of
https://github.com/tobast/libunwind-eh_elf.git
synced 2024-11-22 15:47:37 +01:00
Multi-architecture support. Rename ARCH_x86 to ARCH_IA32.
(Logical change 1.12)
This commit is contained in:
parent
6432d81f05
commit
41659aa324
1 changed files with 5 additions and 5 deletions
10
configure.in
10
configure.in
|
@ -44,13 +44,12 @@ target_arch=`get_arch $target_cpu`
|
|||
|
||||
AM_CONDITIONAL(REMOTE_ONLY, test x$target_arch != x$build_arch)
|
||||
AM_CONDITIONAL(ARCH_IA64, test x$target_arch == xia64)
|
||||
AM_CONDITIONAL(ARCH_x86, test x$target_arch == x86)
|
||||
AM_CONDITIONAL(ARCH_IA32, test x$target_arch == x86)
|
||||
|
||||
if test x$target_arch != x$build_arch; then
|
||||
CPPFLAGS="${CPPFLAGS} -DUNW_REMOTE_ONLY"
|
||||
if test x$prefix = xNONE; then
|
||||
prefix=/usr/local/$target_cpu-$target_os
|
||||
fi
|
||||
else
|
||||
AC_CONFIG_LINKS(include/libunwind.h:include/libunwind-$target_arch.h)
|
||||
fi
|
||||
|
||||
AC_ARG_ENABLE(debug,
|
||||
|
@ -65,9 +64,10 @@ else
|
|||
fi
|
||||
ASFLAGS="${ASFLAGS} ${CPPFLAGS}"
|
||||
|
||||
arch="$target_arch"
|
||||
ARCH=`echo $target_arch | tr [a-z] [A-Z]`
|
||||
|
||||
AC_CONFIG_LINKS(include/libunwind-tdep.h:include/libunwind-$target_arch.h)
|
||||
|
||||
AC_SUBST(arch)
|
||||
AC_SUBST(ARCH)
|
||||
AC_OUTPUT(Makefile src/Makefile tests/Makefile doc/Makefile)
|
||||
|
|
Loading…
Reference in a new issue