Add ppc support to the configure script.

Signed-off-by: John Arbuckle <programmingk...@gmail.com>
---
 configure | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/configure b/configure
index 055e6d6..7881b18 100755
--- a/configure
+++ b/configure
@@ -56,6 +56,8 @@ guess_arch() {
         else
             ARCH="ppc64le"
         fi
+    elif check_define __ppc__ ; then
+        ARCH="ppc"
     else
         echo "This cpu is not supported by risu. Try -h. " >&2
         exit 1
@@ -92,7 +94,7 @@ Some influential environment variables:
                prefixed with the given string.

ARCH force target architecture instead of trying to detect it.
-               Valid values=[arm|aarch64|ppc64|ppc64le|m68k]
+               Valid values=[arm|aarch64|ppc64|ppc64le|m68k|ppc]

   CC           C compiler command
   CFLAGS       C compiler flags
--
2.10.2


Reply via email to