aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2014-03-13 15:00:49 +0100
committerMichael Niedermayer <michaelni@gmx.at>2014-03-13 15:00:53 +0100
commitf385a099c1999b9d9583324b2a3bb2b6bc98b4a1 (patch)
tree4356c93009f6d46fb453e19b9ce184f52e89f088
parentbb6de15d927dcbc5175387fdbb2c066243c1c6b4 (diff)
parentaac9e56759350e5466afb025c434c435c9ebb125 (diff)
downloadffmpeg-f385a099c1999b9d9583324b2a3bb2b6bc98b4a1.tar.gz
Merge remote-tracking branch 'cehoyos/master'
* cehoyos/master: Fix hardware detection on aix. Merged-by: Michael Niedermayer <michaelni@gmx.at>
-rwxr-xr-xconfigure12
1 files changed, 8 insertions, 4 deletions
diff --git a/configure b/configure
index 3d1b035b77..06a5a70026 100755
--- a/configure
+++ b/configure
@@ -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