changeset 57789:62926eb5e40e

8230485: add handling of aix tar in configure Reviewed-by: erikj
author mbaesken
date Tue, 03 Sep 2019 16:52:55 +0200
parents b7afd4b040d3
children 0437b0f20312
files make/autoconf/basics.m4
diffstat 1 files changed, 7 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/make/autoconf/basics.m4	Wed Sep 04 12:47:42 2019 +0800
+++ b/make/autoconf/basics.m4	Tue Sep 03 16:52:55 2019 +0200
@@ -1134,6 +1134,8 @@
     TAR_TYPE="bsd"
   elif test "x$OPENJDK_BUILD_OS" = "xsolaris"; then
     TAR_TYPE="solaris"
+  elif test "x$OPENJDK_BUILD_OS" = "xaix"; then
+    TAR_TYPE="aix"
   fi
   AC_MSG_CHECKING([what type of tar was found])
   AC_MSG_RESULT([$TAR_TYPE])
@@ -1147,6 +1149,11 @@
       # When using gnu tar for Solaris targets, need to use compatibility mode
       TAR_CREATE_EXTRA_PARAM="--format=ustar"
     fi
+  elif test "x$TAR_TYPE" = "aix"; then
+    # -L InputList of aix tar: name of file listing the files and directories
+    # that need to be   archived or extracted
+    TAR_INCLUDE_PARAM="L"
+    TAR_SUPPORTS_TRANSFORM="false"
   else
     TAR_INCLUDE_PARAM="I"
     TAR_SUPPORTS_TRANSFORM="false"