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