8230485: add handling of aix tar in configure
authormbaesken
Tue, 03 Sep 2019 16:52:55 +0200
changeset 58000 62926eb5e40e
parent 57999 b7afd4b040d3
child 58001 0437b0f20312
8230485: add handling of aix tar in configure Reviewed-by: erikj
make/autoconf/basics.m4
--- 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"