Merge remote-tracking branch 'cehoyos/master'

* cehoyos/master:
  Fix hardware detection on aix.

Merged-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
Michael Niedermayer 2014-03-13 15:00:49 +01:00
commit f385a099c1
1 changed files with 8 additions and 4 deletions

12
configure vendored
View File

@ -2505,14 +2505,18 @@ windres_default="windres"
nogas=":"
# machine
arch_default=$(uname -m)
cpu="generic"
# OS
target_os_default=$(tolower $(uname -s))
host_os=$target_os_default
# machine
if test "$target_os_default" = aix; then
arch_default=$(uname -p)
else
arch_default=$(uname -m)
fi
cpu="generic"
# configurable options
enable $PROGRAM_LIST
enable $DOCUMENT_LIST