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

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