mirror of https://github.com/mpv-player/mpv
move runtime cpu detection check after detection of host architecture,
since it uses the host architecture to check if it is supported. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21825 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
1bb883188e
commit
c9614cb422
|
@ -548,10 +548,6 @@ for ac_option do
|
||||||
esac
|
esac
|
||||||
done
|
done
|
||||||
|
|
||||||
if test "$_runtime_cpudetection" = yes && not x86 && not ppc; then
|
|
||||||
die "Runtime CPU detection only works for x86, x86-64 and PPC!"
|
|
||||||
fi
|
|
||||||
|
|
||||||
# Determine our OS name and CPU architecture
|
# Determine our OS name and CPU architecture
|
||||||
if test -z "$_target" ; then
|
if test -z "$_target" ; then
|
||||||
# OS name
|
# OS name
|
||||||
|
@ -637,6 +633,10 @@ fi
|
||||||
echo "Detected operating system: $system_name"
|
echo "Detected operating system: $system_name"
|
||||||
echo "Detected host architecture: $host_arch"
|
echo "Detected host architecture: $host_arch"
|
||||||
|
|
||||||
|
if test "$_runtime_cpudetection" = yes && not x86 && not ppc; then
|
||||||
|
die "Runtime CPU detection only works for x86, x86-64 and PPC!"
|
||||||
|
fi
|
||||||
|
|
||||||
# LGB: temporary files
|
# LGB: temporary files
|
||||||
for I in "$TMPDIR" "$TEMPDIR" "/tmp" ; do
|
for I in "$TMPDIR" "$TEMPDIR" "/tmp" ; do
|
||||||
test "$I" && break
|
test "$I" && break
|
||||||
|
|
Loading…
Reference in New Issue