common/autoconf/compare.sh.in

Mon, 14 Sep 2020 16:42:03 +0100

author
andrew
date
Mon, 14 Sep 2020 16:42:03 +0100
changeset 2554
7f60c2d9823e
parent 2212
dd97daafa80b
child 2316
64a3eeabf6e5
permissions
-rw-r--r--

Added tag jdk8u272-b08 for changeset 34c6baf21464

ohair@478 1 #!/bin/bash
ohair@478 2 #
kevinw@2212 3 # Copyright (c) 2012, 2014, Oracle and/or its affiliates. All rights reserved.
ohair@478 4 # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
ohair@478 5 #
ohair@478 6 # This code is free software; you can redistribute it and/or modify it
ohair@478 7 # under the terms of the GNU General Public License version 2 only, as
ohair@478 8 # published by the Free Software Foundation.
ohair@478 9 #
ohair@478 10 # This code is distributed in the hope that it will be useful, but WITHOUT
ohair@478 11 # ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
ohair@478 12 # FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
ohair@478 13 # version 2 for more details (a copy is included in the LICENSE file that
ohair@478 14 # accompanied this code).
ohair@478 15 #
ohair@478 16 # You should have received a copy of the GNU General Public License version
ohair@478 17 # 2 along with this work; if not, write to the Free Software Foundation,
ohair@478 18 # Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
ohair@478 19 #
ohair@478 20 # Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
ohair@478 21 # or visit www.oracle.com if you need additional information or have any
ohair@478 22 # questions.
ohair@478 23 #
ohair@478 24
ihse@839 25 # This script is processed by configure before it's usable. It is run from
ohair@478 26 # the root of the build directory.
ohair@478 27
ohair@478 28
ohair@478 29 ##########################################################################################
ohair@478 30 # Substitutions from autoconf
ohair@478 31
ohair@478 32 LEGACY_BUILD_DIR=@OPENJDK_TARGET_OS@-@OPENJDK_TARGET_CPU_LEGACY@
ohair@478 33
ohair@478 34 OPENJDK_TARGET_OS="@OPENJDK_TARGET_OS@"
ohair@478 35 OPENJDK_TARGET_CPU="@OPENJDK_TARGET_CPU@"
ohair@478 36
ohair@478 37 AWK="@AWK@"
ohair@478 38 CAT="@CAT@"
ohair@478 39 CMP="@CMP@"
ohair@478 40 CP="@CP@"
ohair@478 41 CUT="@CUT@"
ohair@478 42 DIFF="@DIFF@"
ohair@494 43 DUMPBIN="@FIXPATH@ @DUMPBIN@"
ohair@478 44 EXPR="@EXPR@"
ohair@478 45 FILE="@FILE@"
ohair@478 46 FIND="@FIND@"
ohair@478 47 GREP="@GREP@"
ohair@494 48 JAVAP="@FIXPATH@ @BOOT_JDK@/bin/javap"
ohair@478 49 LDD="@LDD@"
ohair@478 50 MKDIR="@MKDIR@"
erikj@565 51 NAWK="@NAWK@"
erikj@672 52 NM="@GNM@"
ohair@478 53 OBJDUMP="@OBJDUMP@"
ohair@478 54 OTOOL="@OTOOL@"
ohair@478 55 PRINTF="@PRINTF@"
ohair@478 56 READELF="@READELF@"
ohair@478 57 RM="@RM@"
ohair@478 58 SED="@SED@"
ohair@478 59 SORT="@SORT@"
ohair@494 60 STAT="@STAT@"
ohair@478 61 STRIP="@POST_STRIP_CMD@"
ohair@478 62 TEE="@TEE@"
ohair@478 63 UNIQ="@UNIQ@"
erikj@502 64 UNPACK200="@FIXPATH@ @BOOT_JDK@/bin/unpack200"
ohair@478 65 UNZIP="@UNZIP@"
ohair@478 66
kevinw@2212 67 SRC_ROOT="@TOPDIR@"
ohair@478 68
ohair@494 69 if [ "$OPENJDK_TARGET_OS" = "windows" ]; then
ihse@839 70 PATH="@VS_PATH@"
ohair@478 71 fi
ohair@478 72
ohair@494 73 # Now locate the main script and run it.
ohair@494 74 REAL_COMPARE_SCRIPT="$SRC_ROOT/common/bin/compare.sh"
ohair@494 75 if [ ! -e "$REAL_COMPARE_SCRIPT" ]; then
ihse@839 76 echo "Error: Cannot locate compare script, it should have been in $REAL_COMPARE_SCRIPT"
ihse@839 77 exit 1
ohair@478 78 fi
ohair@478 79
ohair@494 80 . "$REAL_COMPARE_SCRIPT" "$@"

mercurial