summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam Hocevar <sam+ffmpeg@zoy.org>2005-09-24 17:10:25 +0000
committerDiego Biurrun <diego@biurrun.de>2005-09-24 17:10:25 +0000
commit67860b268ee2517a2d3e8465ff50f56def88ded9 (patch)
tree91fc75ef7938c89fa2746fa4e5b98d8a0d82e95e
parent29799f8b756a70d6b87f716245dac84cda1e882f (diff)
Tell configure about hppa, s390, mipsel, m68k and ia64 architectures.
patch by Sam Hocevar < sam -- at -- zoy -- dot -- org > Originally committed as revision 4614 to svn://svn.ffmpeg.org/ffmpeg/trunk
-rwxr-xr-xconfigure26
1 files changed, 25 insertions, 1 deletions
diff --git a/configure b/configure
index b6e4e37d70..4f5a9835ec 100755
--- a/configure
+++ b/configure
@@ -146,7 +146,7 @@ case "$cpu" in
"Power Macintosh"|ppc)
cpu="powerpc"
;;
- mips)
+ mips|mipsel)
cpu="mips"
;;
sun4u|sparc64)
@@ -158,6 +158,18 @@ case "$cpu" in
sh4)
cpu="sh4"
;;
+ parisc|parisc64)
+ cpu="parisc"
+ ;;
+ s390|s390x)
+ cpu="s390"
+ ;;
+ m68k)
+ cpu="m68k"
+ ;;
+ ia64)
+ cpu="ia64"
+ ;;
*)
cpu="unknown"
;;
@@ -1320,6 +1332,18 @@ elif test "$cpu" = "mips" ; then
elif test "$cpu" = "sh4" ; then
echo "TARGET_ARCH_SH4=yes" >> config.mak
echo "#define ARCH_SH4 1" >> $TMPH
+elif test "$cpu" = "parisc" ; then
+ echo "TARGET_ARCH_PARISC=yes" >> config.mak
+ echo "#define ARCH_PARISC 1" >> $TMPH
+elif test "$cpu" = "s390" ; then
+ echo "TARGET_ARCH_S390=yes" >> config.mak
+ echo "#define ARCH_S390 1" >> $TMPH
+elif test "$cpu" = "m68k" ; then
+ echo "TARGET_ARCH_M68K=yes" >> config.mak
+ echo "#define ARCH_M68K 1" >> $TMPH
+elif test "$cpu" = "ia64" ; then
+ echo "TARGET_ARCH_IA64=yes" >> config.mak
+ echo "#define ARCH_IA64 1" >> $TMPH
fi
echo "#define TUNECPU $TUNECPU" >> $TMPH
if test "$bigendian" = "yes" ; then