equal
deleted
inserted
replaced
1 # |
1 # |
2 # Copyright (c) 2011, 2016, Oracle and/or its affiliates. All rights reserved. |
2 # Copyright (c) 2011, 2017, Oracle and/or its affiliates. All rights reserved. |
3 # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
3 # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
4 # |
4 # |
5 # This code is free software; you can redistribute it and/or modify it |
5 # This code is free software; you can redistribute it and/or modify it |
6 # under the terms of the GNU General Public License version 2 only, as |
6 # under the terms of the GNU General Public License version 2 only, as |
7 # published by the Free Software Foundation. Oracle designates this |
7 # published by the Free Software Foundation. Oracle designates this |
1009 AC_DEFUN([BASIC_CHECK_TAR], |
1009 AC_DEFUN([BASIC_CHECK_TAR], |
1010 [ |
1010 [ |
1011 # Test which kind of tar was found |
1011 # Test which kind of tar was found |
1012 if test "x$($TAR --version | $GREP "GNU tar")" != "x"; then |
1012 if test "x$($TAR --version | $GREP "GNU tar")" != "x"; then |
1013 TAR_TYPE="gnu" |
1013 TAR_TYPE="gnu" |
|
1014 elif test "x$($TAR --version | $GREP "bsdtar")" != "x"; then |
|
1015 TAR_TYPE="bsd" |
1014 elif test "x$($TAR -v | $GREP "bsdtar")" != "x"; then |
1016 elif test "x$($TAR -v | $GREP "bsdtar")" != "x"; then |
1015 TAR_TYPE="bsd" |
1017 TAR_TYPE="bsd" |
1016 elif test "x$OPENJDK_BUILD_OS" = "xsolaris"; then |
1018 elif test "x$OPENJDK_BUILD_OS" = "xsolaris"; then |
1017 TAR_TYPE="solaris" |
1019 TAR_TYPE="solaris" |
1018 fi |
1020 fi |