summaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authorJames Morrison <ja2morri@csclub.uwaterloo.ca>2004-04-24 15:16:23 +0000
committerMichael Niedermayer <michaelni@gmx.at>2004-04-24 15:16:23 +0000
commitbb476ff36743d7b2bf61a2c8b5741d050e25adbc (patch)
tree2cbe0667cf53351badbf9e99646d9c3885878df1 /configure
parentaab9cdcff89b63eefd581758809a56895ba8d903 (diff)
vis detection patch by (James Morrison <ja2morri at csclub dot uwaterloo dot ca>)
Originally committed as revision 3057 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure10
1 files changed, 9 insertions, 1 deletions
diff --git a/configure b/configure
index d301f3053f..b53b15c2c4 100755
--- a/configure
+++ b/configure
@@ -115,9 +115,12 @@ case "$cpu" in
mips)
cpu="mips"
;;
- sun4u)
+ sun4u|sparc64)
cpu="sparc64"
;;
+ sparc)
+ cpu="sparc"
+ ;;
sh4)
cpu="sh4"
;;
@@ -1026,6 +1029,11 @@ elif test "$cpu" = "alpha" ; then
elif test "$cpu" = "sparc64" ; then
echo "TARGET_ARCH_SPARC64=yes" >> config.mak
echo "#define ARCH_SPARC64 1" >> $TMPH
+ echo "TARGET_ARCH_SPARC=yes" >> config.mak
+ echo "#define ARCH_SPARC 1" >> $TMPH
+elif test "$cpu" = "sparc" ; then
+ echo "TARGET_ARCH_SPARC=yes" >> config.mak
+ echo "#define ARCH_SPARC 1" >> $TMPH
elif test "$cpu" = "powerpc" ; then
echo "TARGET_ARCH_POWERPC=yes" >> config.mak
echo "#define ARCH_POWERPC 1" >> $TMPH