diff options
author | Carl Eugen Hoyos <cehoyos@ag.or.at> | 2014-03-13 08:34:45 +0100 |
---|---|---|
committer | Carl Eugen Hoyos <cehoyos@ag.or.at> | 2014-03-13 08:34:45 +0100 |
commit | aac9e56759350e5466afb025c434c435c9ebb125 (patch) | |
tree | 97ca102ddf9920371dd4405a472a9932da3e42fe /configure | |
parent | 7d7487e85c066bf3f4e5821a49081f520b6bc1e7 (diff) | |
download | ffmpeg-aac9e56759350e5466afb025c434c435c9ebb125.tar.gz |
Fix hardware detection on aix.
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 12 |
1 files changed, 8 insertions, 4 deletions
@@ -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 |