[FFmpeg-cvslog] configure: Detect AIX ar command instead of hardcoding it in the OS section
Diego Biurrun
git at videolan.org
Tue Jul 30 11:24:39 CEST 2013
ffmpeg | branch: master | Diego Biurrun <diego at biurrun.de> | Mon Jul 29 18:23:08 2013 +0200| [4822ee3ca620a92cd2b0a9a03ea9e34288192c79] | committer: Diego Biurrun
configure: Detect AIX ar command instead of hardcoding it in the OS section
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=4822ee3ca620a92cd2b0a9a03ea9e34288192c79
---
configure | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/configure b/configure
index 6b52eff..3420f3c 100755
--- a/configure
+++ b/configure
@@ -2707,6 +2707,9 @@ if $ar 2>&1 | grep -q Microsoft; then
elif $ar 2>&1 | grep -q 'Texas Instruments'; then
arflags="rq"
ar_o='$@'
+elif $ar 2>&1 | grep -q 'Usage: ar.*-X.*any'; then
+ arflags='-Xany -r -c'
+ ar_o='$@'
else
arflags="rc"
ar_o='$@'
@@ -3053,7 +3056,6 @@ case $target_os in
SHFLAGS=-shared
add_cppflags '-I\$(SRC_PATH)/compat/aix'
enabled shared && add_ldflags -Wl,-brtl
- ar_default='ar -Xany'
;;
haiku)
prefix_default="/boot/common"
More information about the ffmpeg-cvslog
mailing list