common/autoconf/generated-configure.sh

Print this page




 578 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
 579 #  include <memory.h>
 580 # endif
 581 # include <string.h>
 582 #endif
 583 #ifdef HAVE_STRINGS_H
 584 # include <strings.h>
 585 #endif
 586 #ifdef HAVE_INTTYPES_H
 587 # include <inttypes.h>
 588 #endif
 589 #ifdef HAVE_STDINT_H
 590 # include <stdint.h>
 591 #endif
 592 #ifdef HAVE_UNISTD_H
 593 # include <unistd.h>
 594 #endif"
 595 
 596 ac_subst_vars='LTLIBOBJS
 597 LIBOBJS
 598 CCACHE
 599 USE_PRECOMPILED_HEADER

 600 SJAVAC_SERVER_DIR
 601 ENABLE_SJAVAC
 602 SJAVAC_SERVER_CORES
 603 SJAVAC_SERVER_JAVA
 604 JOBS
 605 MEMORY_SIZE
 606 NUM_CORES
 607 ENABLE_INTREE_EC
 608 SALIB_NAME
 609 HOTSPOT_MAKE_ARGS
 610 FIXPATH
 611 LIBCXX
 612 LLVM_LIBS
 613 LLVM_LDFLAGS
 614 LLVM_CFLAGS
 615 LLVM_CONFIG
 616 LIBFFI_LIBS
 617 LIBFFI_CFLAGS
 618 STATIC_CXX_SETTING
 619 LIBDL


1010 with_extra_ldflags
1011 enable_debug_symbols
1012 enable_zip_debug_info
1013 enable_macosx_runtime_support
1014 with_x
1015 with_cups
1016 with_cups_include
1017 with_freetype
1018 with_alsa
1019 with_alsa_include
1020 with_alsa_lib
1021 with_giflib
1022 with_zlib
1023 with_stdc__lib
1024 with_num_cores
1025 with_memory_size
1026 with_jobs
1027 with_sjavac_server_java
1028 with_sjavac_server_cores
1029 enable_sjavac
1030 enable_precompiled_headers
1031 enable_ccache
1032 with_ccache_dir

1033 '
1034       ac_precious_vars='build_alias
1035 host_alias
1036 target_alias
1037 PKG_CONFIG
1038 CC
1039 CFLAGS
1040 LDFLAGS
1041 LIBS
1042 CPPFLAGS
1043 CXX
1044 CXXFLAGS
1045 CCC
1046 OBJC
1047 OBJCFLAGS
1048 CPP
1049 CXXCPP
1050 XMKMF
1051 FREETYPE2_CFLAGS
1052 FREETYPE2_LIBS


1675   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
1676   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
1677   --enable-openjdk-only   suppress building custom source even if present
1678                           [disabled]
1679   --enable-debug          set the debug level to fastdebug (shorthand for
1680                           --with-debug-level=fastdebug) [disabled]
1681   --disable-headful       disable building headful support (graphical UI
1682                           support) [enabled]
1683   --enable-hotspot-test-in-build
1684                           run the Queens test after Hotspot build [disabled]
1685   --enable-unlimited-crypto
1686                           Enable unlimited crypto policy [disabled]
1687   --disable-debug-symbols disable generation of debug symbols [enabled]
1688   --disable-zip-debug-info
1689                           disable zipping of debug-info files [enabled]
1690   --disable-macosx-runtime-support
1691                           disable the use of MacOSX Java runtime support
1692                           framework [enabled]
1693   --enable-sjavac         use sjavac to do fast incremental compiles
1694                           [disabled]


1695   --disable-precompiled-headers
1696                           disable using precompiled headers when compiling C++
1697                           [enabled]
1698   --disable-ccache        disable using ccache to speed up recompilations
1699                           [enabled]
1700 
1701 Optional Packages:
1702   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
1703   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
1704   --with-custom-make-dir  use this directory for custom build/make files
1705   --with-target-bits      build 32-bit or 64-bit binaries (for platforms that
1706                           support it), e.g. --with-target-bits=32 [guessed]
1707   --with-sys-root         pass this sys-root to the compilers and tools (for
1708                           cross-compiling)
1709   --with-tools-dir        search this directory for compilers and tools (for
1710                           cross-compiling)
1711   --with-devkit           use this directory as base for tools-dir and
1712                           sys-root (for cross-compiling)
1713   --with-jdk-variant      JDK variant to build (normal) [normal]
1714   --with-jvm-variants     JVM variants (separated by commas) to build (server,
1715                           client, minimal1, kernel, zero, zeroshark) [server]
1716   --with-debug-level      set the debug level (release, fastdebug, slowdebug)
1717                           [release]
1718   --with-conf-name        use this as the name of the configuration [generated
1719                           from important configuration options]


3348 # questions.
3349 #
3350 
3351 
3352 
3353 
3354 
3355 
3356 
3357 
3358 
3359 
3360 
3361 
3362 
3363 
3364 
3365 
3366 
3367 
3368 
3369 
3370 #
3371 # Copyright (c) 2011, 2012, Oracle and/or its affiliates. All rights reserved.
3372 # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
3373 #
3374 # This code is free software; you can redistribute it and/or modify it
3375 # under the terms of the GNU General Public License version 2 only, as
3376 # published by the Free Software Foundation.  Oracle designates this
3377 # particular file as subject to the "Classpath" exception as provided
3378 # by Oracle in the LICENSE file that accompanied this code.
3379 #
3380 # This code is distributed in the hope that it will be useful, but WITHOUT
3381 # ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
3382 # FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
3383 # version 2 for more details (a copy is included in the LICENSE file that
3384 # accompanied this code).
3385 #
3386 # You should have received a copy of the GNU General Public License version
3387 # 2 along with this work; if not, write to the Free Software Foundation,
3388 # Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
3389 #


3758 
3759 # Check if the VS env variables were setup prior to running configure.
3760 # If not, then find vcvarsall.bat and run it automatically, and integrate
3761 # the set env variables into the spec file.
3762 
3763 
3764 
3765 # Setup the DXSDK paths
3766 
3767 
3768 
3769 
3770 
3771 
3772 # This line needs to be here, verbatim, after all includes and the dummy hook
3773 # definitions. It is replaced with custom functionality when building
3774 # custom sources.
3775 #CUSTOM_AUTOCONF_INCLUDE
3776 
3777 # Do not change or remove the following line, it is needed for consistency checks:
3778 DATE_WHEN_GENERATED=1367502949
3779 
3780 ###############################################################################
3781 #
3782 # Initialization / Boot-strapping
3783 #
3784 # The bootstrapping process needs to solve the "chicken or the egg" problem,
3785 # thus it jumps back and forth, each time gaining something needed later on.
3786 #
3787 ###############################################################################
3788 
3789 # Basic initialization that must happen first of all
3790 
3791 # Save the original command line. This is passed to us by the wrapper configure script.
3792 
3793 DATE_WHEN_CONFIGURED=`LANG=C date`
3794 
3795 { $as_echo "$as_me:${as_lineno-$LINENO}: Configuration created at $DATE_WHEN_CONFIGURED." >&5
3796 $as_echo "$as_me: Configuration created at $DATE_WHEN_CONFIGURED." >&6;}
3797 { $as_echo "$as_me:${as_lineno-$LINENO}: configure script generated at timestamp $DATE_WHEN_GENERATED." >&5
3798 $as_echo "$as_me: configure script generated at timestamp $DATE_WHEN_GENERATED." >&6;}


32856 # Check whether --enable-sjavac was given.
32857 if test "${enable_sjavac+set}" = set; then :
32858   enableval=$enable_sjavac; ENABLE_SJAVAC="${enableval}"
32859 else
32860   ENABLE_SJAVAC='no'
32861 fi
32862 
32863 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ENABLE_SJAVAC" >&5
32864 $as_echo "$ENABLE_SJAVAC" >&6; }
32865 
32866 
32867 if test "x$ENABLE_SJAVAC" = xyes; then
32868     SJAVAC_SERVER_DIR="$OUTPUT_ROOT/javacservers"
32869 else
32870     SJAVAC_SERVER_DIR=
32871 fi
32872 
32873 
32874 
32875 
32876 # Can the C/C++ compiler use precompiled headers?
32877 
32878 
32879 ###############################################################################
32880 #
32881 # Can the C/C++ compiler use precompiled headers?
32882 #
32883 # Check whether --enable-precompiled-headers was given.
32884 if test "${enable_precompiled_headers+set}" = set; then :
32885   enableval=$enable_precompiled_headers; ENABLE_PRECOMPH=${enable_precompiled_headers}
32886 else
32887   ENABLE_PRECOMPH=yes
32888 fi
32889 
32890 
32891 USE_PRECOMPILED_HEADER=1
32892 if test "x$ENABLE_PRECOMPH" = xno; then
32893     USE_PRECOMPILED_HEADER=0
32894 fi
32895 
32896 if test "x$ENABLE_PRECOMPH" = xyes; then
32897     # Check that the compiler actually supports precomp headers.
32898     if test "x$GCC" = xyes; then
32899          { $as_echo "$as_me:${as_lineno-$LINENO}: checking that precompiled headers work" >&5
32900 $as_echo_n "checking that precompiled headers work... " >&6; }
32901          echo "int alfa();" > conftest.h
32902          $CXX -x c++-header conftest.h -o conftest.hpp.gch 2>&5 >&5
32903          if test ! -f conftest.hpp.gch; then
32904              USE_PRECOMPILED_HEADER=0
32905              { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
32906 $as_echo "no" >&6; }
32907          else
32908              { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
32909 $as_echo "yes" >&6; }
32910          fi
32911          rm -f conftest.h conftest.hpp.gch
32912     fi
32913 fi
32914 
32915 
32916 
32917 
32918 # Setup use of ccache, if available
32919 
32920     # Check whether --enable-ccache was given.
32921 if test "${enable_ccache+set}" = set; then :
32922   enableval=$enable_ccache; ENABLE_CCACHE=${enable_ccache}
32923 else
32924   ENABLE_CCACHE=yes
32925 fi
32926 
32927     if test "x$ENABLE_CCACHE" = xyes; then
32928         # Extract the first word of "ccache", so it can be a program name with args.
32929 set dummy ccache; ac_word=$2
32930 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
32931 $as_echo_n "checking for $ac_word... " >&6; }
32932 if test "${ac_cv_path_CCACHE+set}" = set; then :
32933   $as_echo_n "(cached) " >&6
32934 else
32935   case $CCACHE in
32936   [\\/]* | ?:[\\/]*)
32937   ac_cv_path_CCACHE="$CCACHE" # Let the user override the test with a path.


32969         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ccache" >&5
32970 $as_echo_n "checking for ccache... " >&6; }
32971         { $as_echo "$as_me:${as_lineno-$LINENO}: result: explicitly disabled" >&5
32972 $as_echo "explicitly disabled" >&6; }
32973         CCACHE=
32974     fi
32975 
32976 
32977 
32978 # Check whether --with-ccache-dir was given.
32979 if test "${with_ccache_dir+set}" = set; then :
32980   withval=$with_ccache_dir;
32981 fi
32982 
32983 
32984     if test "x$with_ccache_dir" != x; then
32985         # When using a non home ccache directory, assume the use is to share ccache files
32986         # with other users. Thus change the umask.
32987         SET_CCACHE_DIR="CCACHE_DIR=$with_ccache_dir CCACHE_UMASK=002"
32988     fi
32989     CCACHE_FOUND=""
32990     if test "x$CCACHE" != x; then


32991 
32992     if test "x$CCACHE" != x; then
32993         CCACHE_FOUND="true"
32994         # Only use ccache if it is 3.1.4 or later, which supports
32995         # precompiled headers.
32996         { $as_echo "$as_me:${as_lineno-$LINENO}: checking if ccache supports precompiled headers" >&5
32997 $as_echo_n "checking if ccache supports precompiled headers... " >&6; }
32998         HAS_GOOD_CCACHE=`($CCACHE --version | head -n 1 | grep -E 3.1.[456789]) 2> /dev/null`
32999         if test "x$HAS_GOOD_CCACHE" = x; then
33000             { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, disabling ccache" >&5
33001 $as_echo "no, disabling ccache" >&6; }
33002             CCACHE=
33003         else
33004             { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
33005 $as_echo "yes" >&6; }
33006             { $as_echo "$as_me:${as_lineno-$LINENO}: checking if C-compiler supports ccache precompiled headers" >&5
33007 $as_echo_n "checking if C-compiler supports ccache precompiled headers... " >&6; }
33008             PUSHED_FLAGS="$CXXFLAGS"
33009             CXXFLAGS="-fpch-preprocess $CXXFLAGS"
33010             cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33011 /* end confdefs.h.  */
33012 
33013 int
33014 main ()
33015 {
33016 
33017   ;
33018   return 0;
33019 }
33020 _ACEOF
33021 if ac_fn_cxx_try_compile "$LINENO"; then :
33022   CC_KNOWS_CCACHE_TRICK=yes




33023 else
33024   CC_KNOWS_CCACHE_TRICK=no
33025 fi
33026 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33027             CXXFLAGS="$PUSHED_FLAGS"
33028             if test "x$CC_KNOWS_CCACHE_TRICK" = xyes; then

















33029                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
33030 $as_echo "yes" >&6; }
33031             else
33032                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, disabling ccaching of precompiled headers" >&5
33033 $as_echo "no, disabling ccaching of precompiled headers" >&6; }
33034                 CCACHE=
33035             fi

33036         fi
33037     fi
33038 
33039     if test "x$CCACHE" != x; then
33040         CCACHE_SLOPPINESS=time_macros
33041         CCACHE="CCACHE_COMPRESS=1 $SET_CCACHE_DIR CCACHE_SLOPPINESS=$CCACHE_SLOPPINESS $CCACHE"
33042         CCACHE_FLAGS=-fpch-preprocess
33043 
33044         if test "x$SET_CCACHE_DIR" != x; then
33045             mkdir -p $CCACHE_DIR > /dev/null 2>&1
33046             chmod a+rwxs $CCACHE_DIR > /dev/null 2>&1
33047         fi
33048     fi
33049 
33050     fi
33051 
33052 
33053 ###############################################################################
33054 #
33055 # And now the finish...
33056 #
33057 ###############################################################################
33058 
33059 # Check for some common pitfalls
33060 
33061   if test x"$OPENJDK_BUILD_OS" = xwindows; then
33062     file_to_test="$SRC_ROOT/LICENSE"
33063     if test `$STAT -c '%a' "$file_to_test"` -lt 400; then
33064       as_fn_error $? "Bad file permissions on src files. This is usually caused by cloning the repositories with a non cygwin hg in a directory not created in cygwin." "$LINENO" 5
33065     fi
33066   fi
33067 
33068 
33069 
33070 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if build directory is on local disk" >&5


34393   exec 5>/dev/null
34394   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
34395   exec 5>>config.log
34396   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
34397   # would make configure fail if this is the last instruction.
34398   $ac_cs_success || as_fn_exit 1
34399 fi
34400 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
34401   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
34402 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
34403 fi
34404 
34405 
34406 # Make the compare script executable
34407 $CHMOD +x $OUTPUT_ROOT/compare.sh
34408 
34409 # Finally output some useful information to the user
34410 
34411 # Finally output some useful information to the user
34412 
34413 if test "x$CCACHE_FOUND" != x; then
34414         if  test "x$HAS_GOOD_CCACHE" = x; then
34415                 CCACHE_STATUS="installed, but disabled (version older than 3.1.4)"
34416                 CCACHE_HELP_MSG="You have ccache installed, but it is a version prior to 3.1.4. Try upgrading."
34417         else
34418                 CCACHE_STATUS="installed and in use"
34419         fi
34420 else
34421         if test "x$GCC" = xyes; then
34422                 CCACHE_STATUS="not installed (consider installing)"
34423                 CCACHE_HELP_MSG="You do not have ccache installed. Try installing it."
34424         else
34425                 CCACHE_STATUS="not available for your system"
34426         fi
34427 fi
34428 
34429 printf "\n"
34430 printf "====================================================\n"
34431 printf "A new configuration has been successfully created in\n"
34432 printf "$OUTPUT_ROOT\n"
34433 if test "x$CONFIGURE_COMMAND_LINE" != x; then
34434         printf "using configure arguments '$CONFIGURE_COMMAND_LINE'.\n"
34435 else
34436         printf "using default settings.\n"
34437 fi
34438 
34439 printf "\n"




 578 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
 579 #  include <memory.h>
 580 # endif
 581 # include <string.h>
 582 #endif
 583 #ifdef HAVE_STRINGS_H
 584 # include <strings.h>
 585 #endif
 586 #ifdef HAVE_INTTYPES_H
 587 # include <inttypes.h>
 588 #endif
 589 #ifdef HAVE_STDINT_H
 590 # include <stdint.h>
 591 #endif
 592 #ifdef HAVE_UNISTD_H
 593 # include <unistd.h>
 594 #endif"
 595 
 596 ac_subst_vars='LTLIBOBJS
 597 LIBOBJS

 598 USE_PRECOMPILED_HEADER
 599 CCACHE
 600 SJAVAC_SERVER_DIR
 601 ENABLE_SJAVAC
 602 SJAVAC_SERVER_CORES
 603 SJAVAC_SERVER_JAVA
 604 JOBS
 605 MEMORY_SIZE
 606 NUM_CORES
 607 ENABLE_INTREE_EC
 608 SALIB_NAME
 609 HOTSPOT_MAKE_ARGS
 610 FIXPATH
 611 LIBCXX
 612 LLVM_LIBS
 613 LLVM_LDFLAGS
 614 LLVM_CFLAGS
 615 LLVM_CONFIG
 616 LIBFFI_LIBS
 617 LIBFFI_CFLAGS
 618 STATIC_CXX_SETTING
 619 LIBDL


1010 with_extra_ldflags
1011 enable_debug_symbols
1012 enable_zip_debug_info
1013 enable_macosx_runtime_support
1014 with_x
1015 with_cups
1016 with_cups_include
1017 with_freetype
1018 with_alsa
1019 with_alsa_include
1020 with_alsa_lib
1021 with_giflib
1022 with_zlib
1023 with_stdc__lib
1024 with_num_cores
1025 with_memory_size
1026 with_jobs
1027 with_sjavac_server_java
1028 with_sjavac_server_cores
1029 enable_sjavac

1030 enable_ccache
1031 with_ccache_dir
1032 enable_precompiled_headers
1033 '
1034       ac_precious_vars='build_alias
1035 host_alias
1036 target_alias
1037 PKG_CONFIG
1038 CC
1039 CFLAGS
1040 LDFLAGS
1041 LIBS
1042 CPPFLAGS
1043 CXX
1044 CXXFLAGS
1045 CCC
1046 OBJC
1047 OBJCFLAGS
1048 CPP
1049 CXXCPP
1050 XMKMF
1051 FREETYPE2_CFLAGS
1052 FREETYPE2_LIBS


1675   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
1676   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
1677   --enable-openjdk-only   suppress building custom source even if present
1678                           [disabled]
1679   --enable-debug          set the debug level to fastdebug (shorthand for
1680                           --with-debug-level=fastdebug) [disabled]
1681   --disable-headful       disable building headful support (graphical UI
1682                           support) [enabled]
1683   --enable-hotspot-test-in-build
1684                           run the Queens test after Hotspot build [disabled]
1685   --enable-unlimited-crypto
1686                           Enable unlimited crypto policy [disabled]
1687   --disable-debug-symbols disable generation of debug symbols [enabled]
1688   --disable-zip-debug-info
1689                           disable zipping of debug-info files [enabled]
1690   --disable-macosx-runtime-support
1691                           disable the use of MacOSX Java runtime support
1692                           framework [enabled]
1693   --enable-sjavac         use sjavac to do fast incremental compiles
1694                           [disabled]
1695   --disable-ccache        disable using ccache to speed up recompilations
1696                           [enabled]
1697   --disable-precompiled-headers
1698                           disable using precompiled headers when compiling C++
1699                           [enabled]


1700 
1701 Optional Packages:
1702   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
1703   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
1704   --with-custom-make-dir  use this directory for custom build/make files
1705   --with-target-bits      build 32-bit or 64-bit binaries (for platforms that
1706                           support it), e.g. --with-target-bits=32 [guessed]
1707   --with-sys-root         pass this sys-root to the compilers and tools (for
1708                           cross-compiling)
1709   --with-tools-dir        search this directory for compilers and tools (for
1710                           cross-compiling)
1711   --with-devkit           use this directory as base for tools-dir and
1712                           sys-root (for cross-compiling)
1713   --with-jdk-variant      JDK variant to build (normal) [normal]
1714   --with-jvm-variants     JVM variants (separated by commas) to build (server,
1715                           client, minimal1, kernel, zero, zeroshark) [server]
1716   --with-debug-level      set the debug level (release, fastdebug, slowdebug)
1717                           [release]
1718   --with-conf-name        use this as the name of the configuration [generated
1719                           from important configuration options]


3348 # questions.
3349 #
3350 
3351 
3352 
3353 
3354 
3355 
3356 
3357 
3358 
3359 
3360 
3361 
3362 
3363 
3364 
3365 
3366 
3367 


3368 #
3369 # Copyright (c) 2011, 2012, Oracle and/or its affiliates. All rights reserved.
3370 # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
3371 #
3372 # This code is free software; you can redistribute it and/or modify it
3373 # under the terms of the GNU General Public License version 2 only, as
3374 # published by the Free Software Foundation.  Oracle designates this
3375 # particular file as subject to the "Classpath" exception as provided
3376 # by Oracle in the LICENSE file that accompanied this code.
3377 #
3378 # This code is distributed in the hope that it will be useful, but WITHOUT
3379 # ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
3380 # FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
3381 # version 2 for more details (a copy is included in the LICENSE file that
3382 # accompanied this code).
3383 #
3384 # You should have received a copy of the GNU General Public License version
3385 # 2 along with this work; if not, write to the Free Software Foundation,
3386 # Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
3387 #


3756 
3757 # Check if the VS env variables were setup prior to running configure.
3758 # If not, then find vcvarsall.bat and run it automatically, and integrate
3759 # the set env variables into the spec file.
3760 
3761 
3762 
3763 # Setup the DXSDK paths
3764 
3765 
3766 
3767 
3768 
3769 
3770 # This line needs to be here, verbatim, after all includes and the dummy hook
3771 # definitions. It is replaced with custom functionality when building
3772 # custom sources.
3773 #CUSTOM_AUTOCONF_INCLUDE
3774 
3775 # Do not change or remove the following line, it is needed for consistency checks:
3776 DATE_WHEN_GENERATED=1369310526
3777 
3778 ###############################################################################
3779 #
3780 # Initialization / Boot-strapping
3781 #
3782 # The bootstrapping process needs to solve the "chicken or the egg" problem,
3783 # thus it jumps back and forth, each time gaining something needed later on.
3784 #
3785 ###############################################################################
3786 
3787 # Basic initialization that must happen first of all
3788 
3789 # Save the original command line. This is passed to us by the wrapper configure script.
3790 
3791 DATE_WHEN_CONFIGURED=`LANG=C date`
3792 
3793 { $as_echo "$as_me:${as_lineno-$LINENO}: Configuration created at $DATE_WHEN_CONFIGURED." >&5
3794 $as_echo "$as_me: Configuration created at $DATE_WHEN_CONFIGURED." >&6;}
3795 { $as_echo "$as_me:${as_lineno-$LINENO}: configure script generated at timestamp $DATE_WHEN_GENERATED." >&5
3796 $as_echo "$as_me: configure script generated at timestamp $DATE_WHEN_GENERATED." >&6;}


32854 # Check whether --enable-sjavac was given.
32855 if test "${enable_sjavac+set}" = set; then :
32856   enableval=$enable_sjavac; ENABLE_SJAVAC="${enableval}"
32857 else
32858   ENABLE_SJAVAC='no'
32859 fi
32860 
32861 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ENABLE_SJAVAC" >&5
32862 $as_echo "$ENABLE_SJAVAC" >&6; }
32863 
32864 
32865 if test "x$ENABLE_SJAVAC" = xyes; then
32866     SJAVAC_SERVER_DIR="$OUTPUT_ROOT/javacservers"
32867 else
32868     SJAVAC_SERVER_DIR=
32869 fi
32870 
32871 
32872 
32873 










































32874 # Setup use of ccache, if available
32875 
32876     # Check whether --enable-ccache was given.
32877 if test "${enable_ccache+set}" = set; then :
32878   enableval=$enable_ccache; ENABLE_CCACHE=${enable_ccache}
32879 else
32880   ENABLE_CCACHE=yes
32881 fi
32882 
32883     if test "x$ENABLE_CCACHE" = xyes; then
32884         # Extract the first word of "ccache", so it can be a program name with args.
32885 set dummy ccache; ac_word=$2
32886 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
32887 $as_echo_n "checking for $ac_word... " >&6; }
32888 if test "${ac_cv_path_CCACHE+set}" = set; then :
32889   $as_echo_n "(cached) " >&6
32890 else
32891   case $CCACHE in
32892   [\\/]* | ?:[\\/]*)
32893   ac_cv_path_CCACHE="$CCACHE" # Let the user override the test with a path.


32925         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ccache" >&5
32926 $as_echo_n "checking for ccache... " >&6; }
32927         { $as_echo "$as_me:${as_lineno-$LINENO}: result: explicitly disabled" >&5
32928 $as_echo "explicitly disabled" >&6; }
32929         CCACHE=
32930     fi
32931 
32932 
32933 
32934 # Check whether --with-ccache-dir was given.
32935 if test "${with_ccache_dir+set}" = set; then :
32936   withval=$with_ccache_dir;
32937 fi
32938 
32939 
32940     if test "x$with_ccache_dir" != x; then
32941         # When using a non home ccache directory, assume the use is to share ccache files
32942         # with other users. Thus change the umask.
32943         SET_CCACHE_DIR="CCACHE_DIR=$with_ccache_dir CCACHE_UMASK=002"
32944     fi

32945     if test "x$CCACHE" != x; then
32946         CCACHE_SLOPPINESS=time_macros
32947         CCACHE="CCACHE_COMPRESS=1 $SET_CCACHE_DIR CCACHE_SLOPPINESS=$CCACHE_SLOPPINESS $CCACHE"
32948 
32949         if test "x$SET_CCACHE_DIR" != x; then
32950             mkdir -p $with_ccache_dir > /dev/null 2>&1
32951             chmod a+rwxs $with_ccache_dir > /dev/null 2>&1
32952         fi
32953     fi















32954 



32955 
32956 # Can the C/C++ compiler use precompiled headers?
32957 
32958 
32959 ###############################################################################
32960 #
32961 # Can the C/C++ compiler use precompiled headers?
32962 #
32963 # Check whether --enable-precompiled-headers was given.
32964 if test "${enable_precompiled_headers+set}" = set; then :
32965   enableval=$enable_precompiled_headers; ENABLE_PRECOMPH=${enable_precompiled_headers}
32966 else
32967   ENABLE_PRECOMPH=yes
32968 fi
32969 
32970 
32971   USE_PRECOMPILED_HEADER=1
32972   if test "x$ENABLE_PRECOMPH" = xno; then
32973     USE_PRECOMPILED_HEADER=0
32974   elif test "x$CCACHE" != x; then
32975     # Disable precompiled header when using ccache as they don't work well together.
32976     USE_PRECOMPILED_HEADER=0
32977   elif test "x$ENABLE_PRECOMPH" = xyes; then
32978     # Check that the compiler actually supports precomp headers.
32979     if test "x$GCC" = xyes; then
32980        { $as_echo "$as_me:${as_lineno-$LINENO}: checking that precompiled headers work" >&5
32981 $as_echo_n "checking that precompiled headers work... " >&6; }
32982        echo "int alfa();" > conftest.h
32983        $CXX -x c++-header conftest.h -o conftest.hpp.gch 2>&5 >&5
32984        if test ! -f conftest.hpp.gch; then
32985          USE_PRECOMPILED_HEADER=0
32986          { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
32987 $as_echo "no" >&6; }
32988        else
32989          { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
32990 $as_echo "yes" >&6; }




32991        fi
32992        rm -f conftest.h conftest.hpp.gch
32993     fi
32994   fi
32995 




32996 







32997 
32998 
32999 ###############################################################################
33000 #
33001 # And now the finish...
33002 #
33003 ###############################################################################
33004 
33005 # Check for some common pitfalls
33006 
33007   if test x"$OPENJDK_BUILD_OS" = xwindows; then
33008     file_to_test="$SRC_ROOT/LICENSE"
33009     if test `$STAT -c '%a' "$file_to_test"` -lt 400; then
33010       as_fn_error $? "Bad file permissions on src files. This is usually caused by cloning the repositories with a non cygwin hg in a directory not created in cygwin." "$LINENO" 5
33011     fi
33012   fi
33013 
33014 
33015 
33016 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if build directory is on local disk" >&5


34339   exec 5>/dev/null
34340   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
34341   exec 5>>config.log
34342   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
34343   # would make configure fail if this is the last instruction.
34344   $ac_cs_success || as_fn_exit 1
34345 fi
34346 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
34347   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
34348 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
34349 fi
34350 
34351 
34352 # Make the compare script executable
34353 $CHMOD +x $OUTPUT_ROOT/compare.sh
34354 
34355 # Finally output some useful information to the user
34356 
34357 # Finally output some useful information to the user
34358 
34359 if test "x$CCACHE" != x; then




34360   CCACHE_STATUS="installed and in use"

34361 else
34362   if test "x$GCC" = xyes; then
34363     CCACHE_STATUS="not installed (consider installing)"
34364     CCACHE_HELP_MSG="You do not have ccache installed. Try installing it."
34365   else
34366     CCACHE_STATUS="not available for your system"
34367   fi
34368 fi
34369 
34370 printf "\n"
34371 printf "====================================================\n"
34372 printf "A new configuration has been successfully created in\n"
34373 printf "$OUTPUT_ROOT\n"
34374 if test "x$CONFIGURE_COMMAND_LINE" != x; then
34375         printf "using configure arguments '$CONFIGURE_COMMAND_LINE'.\n"
34376 else
34377         printf "using default settings.\n"
34378 fi
34379 
34380 printf "\n"