1
0
Fork 0
mirror of https://github.com/tobast/libunwind-eh_elf.git synced 2024-11-25 16:47:38 +01:00

Multi-architecture support. Rename ARCH_x86 to ARCH_IA32.

(Logical change 1.12)
This commit is contained in:
hp.com!davidm 2002-04-05 23:37:55 +00:00
parent 6432d81f05
commit 41659aa324

View file

@ -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)