Blame SOURCES/ltrace-0.7.91-ppc64le-configure.patch

f84355
From eea6091f8672b01f7f022b0fc367e0f568225ffc Mon Sep 17 00:00:00 2001
f84355
From: Petr Machata <pmachata@redhat.com>
f84355
Date: Fri, 8 Aug 2014 17:09:58 +0200
f84355
Subject: [PATCH] Recognize powerpc64le in configure
f84355
f84355
---
f84355
 configure.ac | 14 +++++++-------
f84355
 1 file changed, 7 insertions(+), 7 deletions(-)
f84355
f84355
diff --git a/configure.ac b/configure.ac
f84355
index 4f360c8..6fe5e3b 100644
f84355
--- a/configure.ac
f84355
+++ b/configure.ac
f84355
@@ -43,7 +43,7 @@ case "${host_cpu}" in
f84355
     arm*|sa110)		HOST_CPU="arm" ;;
f84355
     cris*)		HOST_CPU="cris" ;;
f84355
     mips*)		HOST_CPU="mips" ;;
f84355
-    powerpc|powerpc64)	HOST_CPU="ppc" ;;
f84355
+    powerpc|powerpc64|powerpc64le)	HOST_CPU="ppc" ;;
f84355
     sun4u|sparc64)	HOST_CPU="sparc" ;;
f84355
     s390x)		HOST_CPU="s390" ;;
f84355
     i?86|x86_64)	HOST_CPU="x86" ;;
f84355
@@ -210,12 +210,12 @@ AC_MSG_RESULT([$enable_libunwind])
f84355
 
f84355
 if test x"$enable_libunwind" = xyes; then
f84355
   case "${host_cpu}" in
f84355
-      arm*|sa110)         UNWIND_ARCH="arm" ;;
f84355
-      i?86)               UNWIND_ARCH="x86" ;;
f84355
-      powerpc)            UNWIND_ARCH="ppc32" ;;
f84355
-      powerpc64)          UNWIND_ARCH="ppc64" ;;
f84355
-      mips*)              UNWIND_ARCH="mips" ;;
f84355
-      *)                  UNWIND_ARCH="${host_cpu}" ;;
f84355
+      arm*|sa110)	  UNWIND_ARCH="arm" ;;
f84355
+      i?86)		  UNWIND_ARCH="x86" ;;
f84355
+      powerpc)		  UNWIND_ARCH="ppc32" ;;
f84355
+      powerpc64|powerpc64le)	UNWIND_ARCH="ppc64" ;;
f84355
+      mips*)		  UNWIND_ARCH="mips" ;;
f84355
+      *)		  UNWIND_ARCH="${host_cpu}" ;;
f84355
   esac
f84355
 
f84355
   saved_LDFLAGS="${LDFLAGS}"
f84355
-- 
f84355
2.1.0
f84355