common/autoconf/generated-configure.sh

changeset 562
14d7ebe42c8d
parent 561
abc8078e070b
child 564
befbad2e4d87
equal deleted inserted replaced
561:abc8078e070b 562:14d7ebe42c8d
752 JAVA_CHECK 752 JAVA_CHECK
753 JAVAC_CHECK 753 JAVAC_CHECK
754 COOKED_BUILD_NUMBER 754 COOKED_BUILD_NUMBER
755 USER_RELEASE_SUFFIX 755 USER_RELEASE_SUFFIX
756 JDK_VERSION 756 JDK_VERSION
757 RUNTIME_NAME
758 COPYRIGHT_YEAR 757 COPYRIGHT_YEAR
759 MACOSX_BUNDLE_ID_BASE 758 MACOSX_BUNDLE_ID_BASE
760 MACOSX_BUNDLE_NAME_BASE 759 MACOSX_BUNDLE_NAME_BASE
761 COMPANY_NAME 760 COMPANY_NAME
762 JDK_RC_PLATFORM_NAME 761 JDK_RC_PLATFORM_NAME
781 BDEPS_UNZIP 780 BDEPS_UNZIP
782 OS_VERSION_MICRO 781 OS_VERSION_MICRO
783 OS_VERSION_MINOR 782 OS_VERSION_MINOR
784 OS_VERSION_MAJOR 783 OS_VERSION_MAJOR
785 PKG_CONFIG 784 PKG_CONFIG
786 COMM
787 TIME 785 TIME
788 STAT 786 STAT
789 HG 787 HG
790 READELF 788 READELF
791 OTOOL 789 OTOOL
897 ECHO 895 ECHO
898 DIRNAME 896 DIRNAME
899 DIFF 897 DIFF
900 DATE 898 DATE
901 CUT 899 CUT
900 CPIO
902 CP 901 CP
902 COMM
903 CMP 903 CMP
904 CHMOD 904 CHMOD
905 CAT 905 CAT
906 BASH 906 BASH
907 BASENAME 907 BASENAME
2984 # PKG_CHECK_MODULES 2984 # PKG_CHECK_MODULES
2985 2985
2986 2986
2987 # Include these first... 2987 # Include these first...
2988 # 2988 #
2989 # Copyright (c) 2011, 2012, Oracle and/or its affiliates. All rights reserved. 2989 # Copyright (c) 2011, 2013, Oracle and/or its affiliates. All rights reserved.
2990 # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 2990 # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
2991 # 2991 #
2992 # This code is free software; you can redistribute it and/or modify it 2992 # This code is free software; you can redistribute it and/or modify it
2993 # under the terms of the GNU General Public License version 2 only, as 2993 # under the terms of the GNU General Public License version 2 only, as
2994 # published by the Free Software Foundation. Oracle designates this 2994 # published by the Free Software Foundation. Oracle designates this
3399 } 3399 }
3400 3400
3401 3401
3402 3402
3403 # 3403 #
3404 # Copyright (c) 2011, 2012, Oracle and/or its affiliates. All rights reserved. 3404 # Copyright (c) 2011, 2013, Oracle and/or its affiliates. All rights reserved.
3405 # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 3405 # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
3406 # 3406 #
3407 # This code is free software; you can redistribute it and/or modify it 3407 # This code is free software; you can redistribute it and/or modify it
3408 # under the terms of the GNU General Public License version 2 only, as 3408 # under the terms of the GNU General Public License version 2 only, as
3409 # published by the Free Software Foundation. Oracle designates this 3409 # published by the Free Software Foundation. Oracle designates this
3431 3431
3432 3432
3433 3433
3434 3434
3435 3435
3436 ###############################################################################
3437 #
3438 # Setup version numbers
3439 #
3436 3440
3437 3441
3438 3442
3439 3443
3440 3444
3680 # definitions. It is replaced with custom functionality when building 3684 # definitions. It is replaced with custom functionality when building
3681 # custom sources. 3685 # custom sources.
3682 #CUSTOM_AUTOCONF_INCLUDE 3686 #CUSTOM_AUTOCONF_INCLUDE
3683 3687
3684 # Do not change or remove the following line, it is needed for consistency checks: 3688 # Do not change or remove the following line, it is needed for consistency checks:
3685 DATE_WHEN_GENERATED=1357045896 3689 DATE_WHEN_GENERATED=1357120071
3686 3690
3687 ############################################################################### 3691 ###############################################################################
3688 # 3692 #
3689 # Initialization / Boot-strapping 3693 # Initialization / Boot-strapping
3690 # 3694 #
4007 as_fn_error $? "Cannot continue" "$LINENO" 5 4011 as_fn_error $? "Cannot continue" "$LINENO" 5
4008 fi 4012 fi
4009 4013
4010 4014
4011 4015
4016 for ac_prog in comm
4017 do
4018 # Extract the first word of "$ac_prog", so it can be a program name with args.
4019 set dummy $ac_prog; ac_word=$2
4020 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4021 $as_echo_n "checking for $ac_word... " >&6; }
4022 if test "${ac_cv_path_COMM+set}" = set; then :
4023 $as_echo_n "(cached) " >&6
4024 else
4025 case $COMM in
4026 [\\/]* | ?:[\\/]*)
4027 ac_cv_path_COMM="$COMM" # Let the user override the test with a path.
4028 ;;
4029 *)
4030 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4031 for as_dir in $PATH
4032 do
4033 IFS=$as_save_IFS
4034 test -z "$as_dir" && as_dir=.
4035 for ac_exec_ext in '' $ac_executable_extensions; do
4036 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4037 ac_cv_path_COMM="$as_dir/$ac_word$ac_exec_ext"
4038 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4039 break 2
4040 fi
4041 done
4042 done
4043 IFS=$as_save_IFS
4044
4045 ;;
4046 esac
4047 fi
4048 COMM=$ac_cv_path_COMM
4049 if test -n "$COMM"; then
4050 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $COMM" >&5
4051 $as_echo "$COMM" >&6; }
4052 else
4053 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4054 $as_echo "no" >&6; }
4055 fi
4056
4057
4058 test -n "$COMM" && break
4059 done
4060
4061
4062 if test "x$COMM" = x; then
4063 if test "xcomm" = x; then
4064 PROG_NAME=comm
4065 else
4066 PROG_NAME=comm
4067 fi
4068 { $as_echo "$as_me:${as_lineno-$LINENO}: Could not find $PROG_NAME!" >&5
4069 $as_echo "$as_me: Could not find $PROG_NAME!" >&6;}
4070 as_fn_error $? "Cannot continue" "$LINENO" 5
4071 fi
4072
4073
4074
4012 for ac_prog in cp 4075 for ac_prog in cp
4013 do 4076 do
4014 # Extract the first word of "$ac_prog", so it can be a program name with args. 4077 # Extract the first word of "$ac_prog", so it can be a program name with args.
4015 set dummy $ac_prog; ac_word=$2 4078 set dummy $ac_prog; ac_word=$2
4016 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4079 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4058 if test "x$CP" = x; then 4121 if test "x$CP" = x; then
4059 if test "xcp" = x; then 4122 if test "xcp" = x; then
4060 PROG_NAME=cp 4123 PROG_NAME=cp
4061 else 4124 else
4062 PROG_NAME=cp 4125 PROG_NAME=cp
4126 fi
4127 { $as_echo "$as_me:${as_lineno-$LINENO}: Could not find $PROG_NAME!" >&5
4128 $as_echo "$as_me: Could not find $PROG_NAME!" >&6;}
4129 as_fn_error $? "Cannot continue" "$LINENO" 5
4130 fi
4131
4132
4133
4134 for ac_prog in cpio
4135 do
4136 # Extract the first word of "$ac_prog", so it can be a program name with args.
4137 set dummy $ac_prog; ac_word=$2
4138 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4139 $as_echo_n "checking for $ac_word... " >&6; }
4140 if test "${ac_cv_path_CPIO+set}" = set; then :
4141 $as_echo_n "(cached) " >&6
4142 else
4143 case $CPIO in
4144 [\\/]* | ?:[\\/]*)
4145 ac_cv_path_CPIO="$CPIO" # Let the user override the test with a path.
4146 ;;
4147 *)
4148 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4149 for as_dir in $PATH
4150 do
4151 IFS=$as_save_IFS
4152 test -z "$as_dir" && as_dir=.
4153 for ac_exec_ext in '' $ac_executable_extensions; do
4154 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4155 ac_cv_path_CPIO="$as_dir/$ac_word$ac_exec_ext"
4156 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4157 break 2
4158 fi
4159 done
4160 done
4161 IFS=$as_save_IFS
4162
4163 ;;
4164 esac
4165 fi
4166 CPIO=$ac_cv_path_CPIO
4167 if test -n "$CPIO"; then
4168 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPIO" >&5
4169 $as_echo "$CPIO" >&6; }
4170 else
4171 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4172 $as_echo "no" >&6; }
4173 fi
4174
4175
4176 test -n "$CPIO" && break
4177 done
4178
4179
4180 if test "x$CPIO" = x; then
4181 if test "xcpio" = x; then
4182 PROG_NAME=cpio
4183 else
4184 PROG_NAME=cpio
4063 fi 4185 fi
4064 { $as_echo "$as_me:${as_lineno-$LINENO}: Could not find $PROG_NAME!" >&5 4186 { $as_echo "$as_me:${as_lineno-$LINENO}: Could not find $PROG_NAME!" >&5
4065 $as_echo "$as_me: Could not find $PROG_NAME!" >&6;} 4187 $as_echo "$as_me: Could not find $PROG_NAME!" >&6;}
4066 as_fn_error $? "Cannot continue" "$LINENO" 5 4188 as_fn_error $? "Cannot continue" "$LINENO" 5
4067 fi 4189 fi
10605 10727
10606 10728
10607 10729
10608 10730
10609 # Source the version numbers 10731 # Source the version numbers
10610 . $AUTOCONF_DIR/version.numbers 10732 . $AUTOCONF_DIR/version-numbers
10611 if test "x$OPENJDK" = "xfalse"; then 10733
10612 . $AUTOCONF_DIR/closed.version.numbers 10734 # Get the settings from parameters
10613 fi
10614
10615 10735
10616 # Check whether --with-milestone was given. 10736 # Check whether --with-milestone was given.
10617 if test "${with_milestone+set}" = set; then : 10737 if test "${with_milestone+set}" = set; then :
10618 withval=$with_milestone; 10738 withval=$with_milestone;
10619 fi 10739 fi
10635 if test "x$with_build_number" = xyes; then 10755 if test "x$with_build_number" = xyes; then
10636 as_fn_error $? "Build number must have a value" "$LINENO" 5 10756 as_fn_error $? "Build number must have a value" "$LINENO" 5
10637 elif test "x$with_build_number" != x; then 10757 elif test "x$with_build_number" != x; then
10638 JDK_BUILD_NUMBER="$with_build_number" 10758 JDK_BUILD_NUMBER="$with_build_number"
10639 fi 10759 fi
10760 if test "x$JDK_BUILD_NUMBER" = x; then
10761 JDK_BUILD_NUMBER=b00
10762 fi
10640 10763
10641 # Now set the JDK version, milestone, build number etc. 10764 # Now set the JDK version, milestone, build number etc.
10642 10765
10643 10766
10644 10767
10652 10775
10653 10776
10654 10777
10655 10778
10656 COPYRIGHT_YEAR=`date +'%Y'` 10779 COPYRIGHT_YEAR=`date +'%Y'`
10657
10658
10659 RUNTIME_NAME="$PRODUCT_NAME $PRODUCT_SUFFIX"
10660 10780
10661 10781
10662 if test "x$JDK_UPDATE_VERSION" != x; then 10782 if test "x$JDK_UPDATE_VERSION" != x; then
10663 JDK_VERSION="${JDK_MAJOR_VERSION}.${JDK_MINOR_VERSION}.${JDK_MICRO_VERSION}_${JDK_UPDATE_VERSION}" 10783 JDK_VERSION="${JDK_MAJOR_VERSION}.${JDK_MINOR_VERSION}.${JDK_MICRO_VERSION}_${JDK_UPDATE_VERSION}"
10664 else 10784 else

mercurial