This proprietary Unix flavor is not in common usage anymore. The little
legacy usage that is left is not multimedia-related. Thus, cluttering
our codebase with workarounds is not worth the trouble.
---

Just to show what the actual changes are if AIX support were dropped.

 compat/aix/math.h | 31 -------------------------------
 configure         |  8 --------
 2 files changed, 39 deletions(-)
 delete mode 100644 compat/aix/math.h

diff --git a/compat/aix/math.h b/compat/aix/math.h
deleted file mode 100644
index 380f87804d..0000000000
--- a/compat/aix/math.h
+++ /dev/null
@@ -1,31 +0,0 @@
-/*
- * Work around the class() function in AIX math.h clashing with
- * identifiers named "class".
- *
- * This file is part of Libav.
- *
- * Libav is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Lesser General Public
- * License as published by the Free Software Foundation; either
- * version 2.1 of the License, or (at your option) any later version.
- *
- * Libav is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
- * Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public
- * License along with Libav; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
- */
-
-#ifndef LIBAV_COMPAT_AIX_MATH_H
-#define LIBAV_COMPAT_AIX_MATH_H
-
-#define class class_in_math_h_causes_problems
-
-#include_next <math.h>
-
-#undef class
-
-#endif /* LIBAV_COMPAT_AIX_MATH_H */
diff --git a/configure b/configure
index 173610a19c..ee22fe9960 100755
--- a/configure
+++ b/configure
@@ -3499,9 +3499,6 @@ 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='$@'
@@ -3880,11 +3877,6 @@ enabled x86_64 && objformat=elf64 || objformat="elf32"
 
 # OS specific
 case $target_os in
-    aix)
-        SHFLAGS=-shared
-        add_cppflags '-I\$(SRC_PATH)/compat/aix'
-        enabled shared && add_ldflags -Wl,-brtl
-        ;;
     android)
         disable symver
         enable section_data_rel_ro
-- 
2.11.0

_______________________________________________
libav-devel mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-devel

Reply via email to