summaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authorMåns Rullgård <mans@mansr.com>2007-06-15 20:35:40 +0000
committerMåns Rullgård <mans@mansr.com>2007-06-15 20:35:40 +0000
commit48a14b9174838a991a3791442600b5d55c94d999 (patch)
treef5aac38b567b3d6d19339f350647027c495adeb7 /configure
parent18ca9a4a99bde0ab7523b62cc23031f16ca6ab33 (diff)
add x86 to ARCH_LIST simplifying config file generation
Originally committed as revision 9323 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure12
1 files changed, 4 insertions, 8 deletions
diff --git a/configure b/configure
index 3163971e4a..8772d0eb55 100755
--- a/configure
+++ b/configure
@@ -676,6 +676,7 @@ ARCH_LIST='
sh4
sparc
sparc64
+ x86
x86_32
x86_64
'
@@ -1977,20 +1978,15 @@ echo "EXESUF=\${BUILDSUF}$EXESUF" >> config.mak
enable $arch
# special cases
+enabled_any x86_32 x86_64 && enable x86
+enabled sparc64 && enable sparc
+
case "$arch" in
- x86_32|x86_64)
- echo "ARCH_X86=yes" >> config.mak
- echo "#define ARCH_X86 1" >> $TMPH
- ;;
powerpc)
if test "$POWERPCMODE" = "64bits"; then
echo "#define POWERPC_MODE_64BITS 1" >> $TMPH
fi
;;
- sparc64)
- echo "ARCH_SPARC=yes" >> config.mak
- echo "#define ARCH_SPARC 1" >> $TMPH
- ;;
esac
if enabled bigendian; then