Mercurial > mplayer.hg
comparison configure @ 23543:d198ab45f7c9
Follow ffmpeg TARGET_ARCH_* -> ARCH_* change.
Feel free to revert if you do not like it, but I want to get MPlayer to compile again.
author | reimar |
---|---|
date | Sat, 16 Jun 2007 15:24:39 +0000 |
parents | 8337977cc1c5 |
children | a9ec56d2b74c |
comparison
equal
deleted
inserted
replaced
23542:2e13eea875a3 | 23543:d198ab45f7c9 |
---|---|
1586 fi | 1586 fi |
1587 | 1587 |
1588 case "$host_arch" in | 1588 case "$host_arch" in |
1589 i[3-9]86|x86|x86pc|k5|k6|k6-2|k6-3|pentium*|athlon*|i586-i686) | 1589 i[3-9]86|x86|x86pc|k5|k6|k6-2|k6-3|pentium*|athlon*|i586-i686) |
1590 _def_arch_x86="#define ARCH_X86 1" | 1590 _def_arch_x86="#define ARCH_X86 1" |
1591 _target_arch_x86="TARGET_ARCH_X86 = yes" | 1591 _target_arch_x86="ARCH_X86 = yes" |
1592 _def_arch="#define ARCH_X86_32 1" | 1592 _def_arch="#define ARCH_X86_32 1" |
1593 _target_arch="TARGET_ARCH_X86_32 = yes" | 1593 _target_arch="ARCH_X86_32 = yes" |
1594 iproc=486 | 1594 iproc=486 |
1595 proc=i486 | 1595 proc=i486 |
1596 | 1596 |
1597 | 1597 |
1598 if test "$_runtime_cpudetection" = no ; then | 1598 if test "$_runtime_cpudetection" = no ; then |
1821 echores "$proc" | 1821 echores "$proc" |
1822 ;; | 1822 ;; |
1823 | 1823 |
1824 ia64) | 1824 ia64) |
1825 _def_arch='#define ARCH_IA64 1' | 1825 _def_arch='#define ARCH_IA64 1' |
1826 _target_arch='TARGET_ARCH_IA64 = yes' | 1826 _target_arch='ARCH_IA64 = yes' |
1827 iproc='ia64' | 1827 iproc='ia64' |
1828 proc='' | 1828 proc='' |
1829 _march='' | 1829 _march='' |
1830 _mcpu='' | 1830 _mcpu='' |
1831 _optimizing='' | 1831 _optimizing='' |
1832 ;; | 1832 ;; |
1833 | 1833 |
1834 x86_64|amd64) | 1834 x86_64|amd64) |
1835 _def_arch='#define ARCH_X86_64 1' | 1835 _def_arch='#define ARCH_X86_64 1' |
1836 _target_arch='TARGET_ARCH_X86_64 = yes' | 1836 _target_arch='ARCH_X86_64 = yes' |
1837 _def_arch_x86="#define ARCH_X86 1" | 1837 _def_arch_x86="#define ARCH_X86 1" |
1838 _target_arch_x86="TARGET_ARCH_X86 = yes" | 1838 _target_arch_x86="ARCH_X86 = yes" |
1839 iproc='x86_64' | 1839 iproc='x86_64' |
1840 | 1840 |
1841 # gcc >= 3.4.0 doesn't support -mcpu, we have to use -mtune instead | 1841 # gcc >= 3.4.0 doesn't support -mcpu, we have to use -mtune instead |
1842 if test "$cc_vendor" = "gnu" && test "$_cc_major" -gt 3 -o "$_cc_major" -eq 3 -a "$_cc_minor" -ge 4 ; then | 1842 if test "$cc_vendor" = "gnu" && test "$_cc_major" -gt 3 -o "$_cc_major" -eq 3 -a "$_cc_minor" -ge 4 ; then |
1843 cpuopt=-mtune | 1843 cpuopt=-mtune |
1910 echores "$proc" | 1910 echores "$proc" |
1911 ;; | 1911 ;; |
1912 | 1912 |
1913 sparc) | 1913 sparc) |
1914 _def_arch='#define ARCH_SPARC 1' | 1914 _def_arch='#define ARCH_SPARC 1' |
1915 _target_arch='TARGET_ARCH_SPARC = yes' | 1915 _target_arch='ARCH_SPARC = yes' |
1916 iproc='sparc' | 1916 iproc='sparc' |
1917 if sunos ; then | 1917 if sunos ; then |
1918 echocheck "CPU type" | 1918 echocheck "CPU type" |
1919 karch=`uname -m` | 1919 karch=`uname -m` |
1920 case "`echo $karch`" in | 1920 case "`echo $karch`" in |
1935 _optimizing="$proc" | 1935 _optimizing="$proc" |
1936 ;; | 1936 ;; |
1937 | 1937 |
1938 sparc64) | 1938 sparc64) |
1939 _def_arch='#define ARCH_SPARC 1' | 1939 _def_arch='#define ARCH_SPARC 1' |
1940 _target_arch='TARGET_ARCH_SPARC = yes' | 1940 _target_arch='ARCH_SPARC = yes' |
1941 _vis='yes' | 1941 _vis='yes' |
1942 _def_vis='#define HAVE_VIS = yes' | 1942 _def_vis='#define HAVE_VIS = yes' |
1943 iproc='sparc' | 1943 iproc='sparc' |
1944 proc='v9' | 1944 proc='v9' |
1945 _march='' | 1945 _march='' |
1947 _optimizing="$proc" | 1947 _optimizing="$proc" |
1948 ;; | 1948 ;; |
1949 | 1949 |
1950 arm|armv4l|armv5tel) | 1950 arm|armv4l|armv5tel) |
1951 _def_arch='#define ARCH_ARMV4L 1' | 1951 _def_arch='#define ARCH_ARMV4L 1' |
1952 _target_arch='TARGET_ARCH_ARMV4L = yes' | 1952 _target_arch='ARCH_ARMV4L = yes' |
1953 iproc='arm' | 1953 iproc='arm' |
1954 proc='' | 1954 proc='' |
1955 _march='' | 1955 _march='' |
1956 _mcpu='' | 1956 _mcpu='' |
1957 _optimizing='' | 1957 _optimizing='' |
1958 ;; | 1958 ;; |
1959 | 1959 |
1960 ppc|powerpc) | 1960 ppc|powerpc) |
1961 _def_arch='#define ARCH_POWERPC 1' | 1961 _def_arch='#define ARCH_POWERPC 1' |
1962 _def_dcbzl='#define NO_DCBZL 1' | 1962 _def_dcbzl='#define NO_DCBZL 1' |
1963 _target_arch='TARGET_ARCH_POWERPC = yes' | 1963 _target_arch='ARCH_POWERPC = yes' |
1964 iproc='ppc' | 1964 iproc='ppc' |
1965 proc='' | 1965 proc='' |
1966 _march='' | 1966 _march='' |
1967 _mcpu='' | 1967 _mcpu='' |
1968 _optimizing='' | 1968 _optimizing='' |
2069 | 2069 |
2070 ;; | 2070 ;; |
2071 | 2071 |
2072 alpha) | 2072 alpha) |
2073 _def_arch='#define ARCH_ALPHA 1' | 2073 _def_arch='#define ARCH_ALPHA 1' |
2074 _target_arch='TARGET_ARCH_ALPHA = yes' | 2074 _target_arch='ARCH_ALPHA = yes' |
2075 iproc='alpha' | 2075 iproc='alpha' |
2076 _march='' | 2076 _march='' |
2077 | 2077 |
2078 echocheck "CPU type" | 2078 echocheck "CPU type" |
2079 cat > $TMPC << EOF | 2079 cat > $TMPC << EOF |
2120 fi | 2120 fi |
2121 ;; | 2121 ;; |
2122 | 2122 |
2123 mips) | 2123 mips) |
2124 _def_arch='#define ARCH_SGI_MIPS 1' | 2124 _def_arch='#define ARCH_SGI_MIPS 1' |
2125 _target_arch='TARGET_ARCH_SGI_MIPS = yes' | 2125 _target_arch='ARCH_SGI_MIPS = yes' |
2126 iproc='sgi-mips' | 2126 iproc='sgi-mips' |
2127 proc='' | 2127 proc='' |
2128 _march='' | 2128 _march='' |
2129 _mcpu='' | 2129 _mcpu='' |
2130 _optimizing='' | 2130 _optimizing='' |
2149 | 2149 |
2150 ;; | 2150 ;; |
2151 | 2151 |
2152 hppa) | 2152 hppa) |
2153 _def_arch='#define ARCH_PA_RISC 1' | 2153 _def_arch='#define ARCH_PA_RISC 1' |
2154 _target_arch='TARGET_ARCH_PA_RISC = yes' | 2154 _target_arch='ARCH_PA_RISC = yes' |
2155 iproc='PA-RISC' | 2155 iproc='PA-RISC' |
2156 proc='' | 2156 proc='' |
2157 _march='' | 2157 _march='' |
2158 _mcpu='' | 2158 _mcpu='' |
2159 _optimizing='' | 2159 _optimizing='' |
2160 ;; | 2160 ;; |
2161 | 2161 |
2162 s390) | 2162 s390) |
2163 _def_arch='#define ARCH_S390 1' | 2163 _def_arch='#define ARCH_S390 1' |
2164 _target_arch='TARGET_ARCH_S390 = yes' | 2164 _target_arch='ARCH_S390 = yes' |
2165 iproc='390' | 2165 iproc='390' |
2166 proc='' | 2166 proc='' |
2167 _march='' | 2167 _march='' |
2168 _mcpu='' | 2168 _mcpu='' |
2169 _optimizing='' | 2169 _optimizing='' |
2170 ;; | 2170 ;; |
2171 | 2171 |
2172 s390x) | 2172 s390x) |
2173 _def_arch='#define ARCH_S390X 1' | 2173 _def_arch='#define ARCH_S390X 1' |
2174 _target_arch='TARGET_ARCH_S390X = yes' | 2174 _target_arch='ARCH_S390X = yes' |
2175 iproc='390x' | 2175 iproc='390x' |
2176 proc='' | 2176 proc='' |
2177 _march='' | 2177 _march='' |
2178 _mcpu='' | 2178 _mcpu='' |
2179 _optimizing='' | 2179 _optimizing='' |
2180 ;; | 2180 ;; |
2181 | 2181 |
2182 vax) | 2182 vax) |
2183 _def_arch='#define ARCH_VAX 1' | 2183 _def_arch='#define ARCH_VAX 1' |
2184 _target_arch='TARGET_ARCH_VAX = yes' | 2184 _target_arch='ARCH_VAX = yes' |
2185 iproc='vax' | 2185 iproc='vax' |
2186 proc='' | 2186 proc='' |
2187 _march='' | 2187 _march='' |
2188 _mcpu='' | 2188 _mcpu='' |
2189 _optimizing='' | 2189 _optimizing='' |
2190 ;; | 2190 ;; |
2191 | 2191 |
2192 generic) | 2192 generic) |
2193 _def_arch='#define ARCH_GENERIC 1' | 2193 _def_arch='#define ARCH_GENERIC 1' |
2194 _target_arch='TARGET_ARCH_GENERIC = yes' | 2194 _target_arch='ARCH_GENERIC = yes' |
2195 iproc='' | 2195 iproc='' |
2196 proc='' | 2196 proc='' |
2197 _march='' | 2197 _march='' |
2198 _mcpu='' | 2198 _mcpu='' |
2199 _optimizing='' | 2199 _optimizing='' |