29 #
30 ###############################################################################
31
32
33 AC_PREREQ([2.69])
34 AC_INIT(OpenJDK, jdk9, build-dev@openjdk.java.net,,http://openjdk.java.net)
35
36 AC_CONFIG_AUX_DIR([$TOPDIR/common/autoconf/build-aux])
37 m4_include([build-aux/pkg.m4])
38
39 # Include these first...
40 m4_include([basics.m4])
41 m4_include([basics_windows.m4])
42 m4_include([builddeps.m4])
43 # ... then the rest
44 m4_include([boot-jdk.m4])
45 m4_include([build-performance.m4])
46 m4_include([flags.m4])
47 m4_include([help.m4])
48 m4_include([jdk-options.m4])
49 m4_include([libraries.m4])
50 m4_include([platform.m4])
51 m4_include([source-dirs.m4])
52 m4_include([toolchain.m4])
53 m4_include([toolchain_windows.m4])
54
55 AC_DEFUN_ONCE([CUSTOM_EARLY_HOOK])
56 AC_DEFUN_ONCE([CUSTOM_LATE_HOOK])
57 AC_DEFUN_ONCE([CUSTOM_CONFIG_OUTPUT_GENERATED_HOOK])
58 AC_DEFUN_ONCE([CUSTOM_SUMMARY_AND_WARNINGS_HOOK])
59
60 # This line needs to be here, verbatim, after all includes and the dummy hook
61 # definitions. It is replaced with custom functionality when building
62 # custom sources.
63 #CUSTOM_AUTOCONF_INCLUDE
64
65 # Do not change or remove the following line, it is needed for consistency checks:
66 DATE_WHEN_GENERATED=@DATE_WHEN_GENERATED@
67
68 ###############################################################################
118 # Check if pkg-config is available.
119 PKG_PROG_PKG_CONFIG
120
121 # After basic tools have been setup, we can check build os specific details.
122 PLATFORM_SETUP_OPENJDK_BUILD_OS_VERSION
123
124 # Setup builddeps, for automatic downloading of tools we need.
125 # This is needed before we can call BDEPS_CHECK_MODULE, which is done in
126 # boot-jdk setup, but we need to have basic tools setup first.
127 BDEPS_CONFIGURE_BUILDDEPS
128 BDEPS_SCAN_FOR_BUILDDEPS
129
130 ###############################################################################
131 #
132 # Determine OpenJDK variants, options and version numbers.
133 #
134 ###############################################################################
135
136 # We need build & target for this.
137 JDKOPT_SETUP_JDK_OPTIONS
138 JDKOPT_SETUP_JDK_VERSION_NUMBERS
139
140 ###############################################################################
141 #
142 # Setup BootJDK, used to bootstrap the build.
143 #
144 ###############################################################################
145
146 BOOTJDK_SETUP_BOOT_JDK
147
148 ###############################################################################
149 #
150 # Configure the sources to use. We can add or override individual directories.
151 #
152 ###############################################################################
153
154 SRCDIRS_SETUP_TOPDIRS
155 SRCDIRS_SETUP_ALTERNATIVE_TOPDIRS
156 SRCDIRS_SETUP_OUTPUT_DIRS
157
158 ###############################################################################
|
29 #
30 ###############################################################################
31
32
33 AC_PREREQ([2.69])
34 AC_INIT(OpenJDK, jdk9, build-dev@openjdk.java.net,,http://openjdk.java.net)
35
36 AC_CONFIG_AUX_DIR([$TOPDIR/common/autoconf/build-aux])
37 m4_include([build-aux/pkg.m4])
38
39 # Include these first...
40 m4_include([basics.m4])
41 m4_include([basics_windows.m4])
42 m4_include([builddeps.m4])
43 # ... then the rest
44 m4_include([boot-jdk.m4])
45 m4_include([build-performance.m4])
46 m4_include([flags.m4])
47 m4_include([help.m4])
48 m4_include([jdk-options.m4])
49 m4_include([jdk-version.m4])
50 m4_include([libraries.m4])
51 m4_include([platform.m4])
52 m4_include([source-dirs.m4])
53 m4_include([toolchain.m4])
54 m4_include([toolchain_windows.m4])
55
56 AC_DEFUN_ONCE([CUSTOM_EARLY_HOOK])
57 AC_DEFUN_ONCE([CUSTOM_LATE_HOOK])
58 AC_DEFUN_ONCE([CUSTOM_CONFIG_OUTPUT_GENERATED_HOOK])
59 AC_DEFUN_ONCE([CUSTOM_SUMMARY_AND_WARNINGS_HOOK])
60
61 # This line needs to be here, verbatim, after all includes and the dummy hook
62 # definitions. It is replaced with custom functionality when building
63 # custom sources.
64 #CUSTOM_AUTOCONF_INCLUDE
65
66 # Do not change or remove the following line, it is needed for consistency checks:
67 DATE_WHEN_GENERATED=@DATE_WHEN_GENERATED@
68
69 ###############################################################################
119 # Check if pkg-config is available.
120 PKG_PROG_PKG_CONFIG
121
122 # After basic tools have been setup, we can check build os specific details.
123 PLATFORM_SETUP_OPENJDK_BUILD_OS_VERSION
124
125 # Setup builddeps, for automatic downloading of tools we need.
126 # This is needed before we can call BDEPS_CHECK_MODULE, which is done in
127 # boot-jdk setup, but we need to have basic tools setup first.
128 BDEPS_CONFIGURE_BUILDDEPS
129 BDEPS_SCAN_FOR_BUILDDEPS
130
131 ###############################################################################
132 #
133 # Determine OpenJDK variants, options and version numbers.
134 #
135 ###############################################################################
136
137 # We need build & target for this.
138 JDKOPT_SETUP_JDK_OPTIONS
139 JDKVER_SETUP_JDK_VERSION_NUMBERS
140
141 ###############################################################################
142 #
143 # Setup BootJDK, used to bootstrap the build.
144 #
145 ###############################################################################
146
147 BOOTJDK_SETUP_BOOT_JDK
148
149 ###############################################################################
150 #
151 # Configure the sources to use. We can add or override individual directories.
152 #
153 ###############################################################################
154
155 SRCDIRS_SETUP_TOPDIRS
156 SRCDIRS_SETUP_ALTERNATIVE_TOPDIRS
157 SRCDIRS_SETUP_OUTPUT_DIRS
158
159 ###############################################################################
|