fix build on powerpc, naddy@ ok

This commit is contained in:
avsm 2001-04-22 22:57:27 +00:00
parent 3334340512
commit 27b3086c64
2 changed files with 24 additions and 0 deletions

View File

@ -0,0 +1,12 @@
$OpenBSD: patch-configure,v 1.1 2001/04/22 22:57:27 avsm Exp $
--- configure.orig Wed Mar 29 17:51:49 2000
+++ configure Sun Apr 22 23:49:49 2001
@@ -1273,7 +1273,7 @@ sparc-*) cat >> confdefs.h <<\EOF
#define __sparc__ 1
EOF
;;
-ppc-*) cat >> confdefs.h <<\EOF
+ppc-*|powerpc-*) cat >> confdefs.h <<\EOF
#define __ppc__ 1
EOF
;;

View File

@ -0,0 +1,12 @@
$OpenBSD: patch-configure_in,v 1.1 2001/04/22 22:57:27 avsm Exp $
--- configure.in.orig Wed Mar 29 17:51:24 2000
+++ configure.in Sun Apr 22 23:49:45 2001
@@ -29,7 +29,7 @@ case "$host" in
i?86-*) AC_DEFINE(__i386__);;
alpha*-*) AC_DEFINE(__alpha__);;
sparc-*) AC_DEFINE(__sparc__);;
-ppc-*) AC_DEFINE(__ppc__);;
+ppc-*|powerpc-*) AC_DEFINE(__ppc__);;
*) echo "$host is not currently supported by ac3dec"; exit 1;;
esac