- add support for mips64(el)

This commit is contained in:
jasper 2011-01-03 22:23:36 +00:00
parent b6bb34278b
commit e67182d95c

View File

@ -1,6 +1,6 @@
$OpenBSD: patch-configure_in_in,v 1.4 2010/07/09 23:12:07 landry Exp $
--- configure.in.in.orig Fri Feb 6 12:07:37 2009
+++ configure.in.in Fri Jul 9 09:26:18 2010
$OpenBSD: patch-configure_in_in,v 1.5 2011/01/03 22:23:36 jasper Exp $
--- configure.in.in.orig Fri Feb 6 20:07:37 2009
+++ configure.in.in Mon Jan 3 17:41:19 2011
@@ -740,6 +740,37 @@ if test "x$with_esd" != "xno"; then
fi
fi
@ -56,7 +56,29 @@ $OpenBSD: patch-configure_in_in,v 1.4 2010/07/09 23:12:07 landry Exp $
fi
fi
@@ -1157,6 +1189,9 @@ case $host_cpu in
@@ -1153,10 +1185,31 @@ case $host_cpu in
AC_DEFINE(HAVE_FAST_64BIT,1,"FFMPEG")
echo "IA64"
;;
+ loongson)
+ have_little_endian=yes
+ LMPG_OPT="";
+ AC_DEFINE(ARCH_64_BITS,1,"X86_64 AMD64 assembly")
+ AC_DEFINE(FPM_DEFAULT,1,[Mad ])
+ AC_DEFINE(ENABLE_MMX,0,[post proc])
+ echo "LOONGSON"
+ ;;
+ sgi)
+ have_little_endian=no
+ LMPG_OPT="";
+ AC_DEFINE(ADM_BIG_ENDIAN,1,[Big endian CPU - SPARC or PowerPC or MIPS])
+ AC_DEFINE(WORDS_BIGENDIAN,1,[Big endian CPU - SPARC or PowerPC or MIPS])
+ AC_DEFINE(ARCH_64_BITS,1,"X86_64 AMD64 assembly")
+ AC_DEFINE(FPM_DEFAULT,1,[Mad ])
+ AC_DEFINE(ENABLE_MMX,0,[post proc])
+ echo "SGI"
+ ;;
sparc|sparc64)
have_little_endian=no;
LMPG_OPT="";
AC_DEFINE(ADM_BIG_ENDIAN,1,[Big endian CPU - SPARC or PowerPC])
@ -66,7 +88,7 @@ $OpenBSD: patch-configure_in_in,v 1.4 2010/07/09 23:12:07 landry Exp $
AC_DEFINE(FPM_SPARC,1,[Mad ])
AC_DEFINE(WORDS_BIGENDIAN,1,[Big endian CPU - SPARC or PowerPC])
AC_DEFINE(ENABLE_MMX,0,[post proc])
@@ -1173,7 +1208,7 @@ case $host_cpu in
@@ -1173,7 +1226,7 @@ case $host_cpu in
AC_DEFINE(ENABLE_MMX,0,[post proc])
AC_DEFINE(HAVE_FAST_64BIT,1,"FFMPEG")
;;
@ -75,7 +97,7 @@ $OpenBSD: patch-configure_in_in,v 1.4 2010/07/09 23:12:07 landry Exp $
have_little_endian=no;
LMPG_OPT="";
AC_DEFINE(FPM_PPC,1,[Mad ])
@@ -1182,9 +1217,6 @@ case $host_cpu in
@@ -1182,9 +1235,6 @@ case $host_cpu in
AC_DEFINE(restrict,__restrict__,[roundup function])
AC_DEFINE(ADM_BIG_ENDIAN,1,[Big endian CPU - SPARC or PowerPC])
AC_DEFINE(ARCH_POWERPC,1,[Enable PowerPC optim])
@ -85,7 +107,7 @@ $OpenBSD: patch-configure_in_in,v 1.4 2010/07/09 23:12:07 landry Exp $
AC_DEFINE(WORDS_BIGENDIAN,1,[Big endian CPU - SPARC or PowerPC])
AC_DEFINE(ENABLE_MMX,0,[post proc])
;;
@@ -1324,11 +1356,11 @@ if test "x$use_debug" = "xyes"; then
@@ -1324,11 +1374,11 @@ if test "x$use_debug" = "xyes"; then
else
dnl -- built-in means gcc3, for gcc 2 we stick to -O2 --
if test "x$use_builtin" = "xyes"; then