[FFmpeg-cvslog] Fix hardware detection on aix.
Carl Eugen Hoyos
git at videolan.org
Thu Mar 13 15:07:01 CET 2014
ffmpeg | branch: master | Carl Eugen Hoyos <cehoyos at ag.or.at> | Thu Mar 13 08:34:45 2014 +0100| [aac9e56759350e5466afb025c434c435c9ebb125] | committer: Carl Eugen Hoyos
Fix hardware detection on aix.
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=aac9e56759350e5466afb025c434c435c9ebb125
---
configure | 12 ++++++++----
1 file changed, 8 insertions(+), 4 deletions(-)
diff --git a/configure b/configure
index 3d1b035..06a5a70 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
More information about the ffmpeg-cvslog
mailing list