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

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