jdk-options.m4 revision 2579:e5c480ca7b29
1# 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. 4# 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 7# published by the Free Software Foundation. Oracle designates this 8# particular file as subject to the "Classpath" exception as provided 9# by Oracle in the LICENSE file that accompanied this code. 10# 11# This code is distributed in the hope that it will be useful, but WITHOUT 12# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or 13# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License 14# version 2 for more details (a copy is included in the LICENSE file that 15# accompanied this code). 16# 17# You should have received a copy of the GNU General Public License version 18# 2 along with this work; if not, write to the Free Software Foundation, 19# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. 20# 21# Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA 22# or visit www.oracle.com if you need additional information or have any 23# questions. 24# 25 26############################################################################### 27# Check which variant of the JDK that we want to build. 28# Currently we have: 29# normal: standard edition 30# but the custom make system may add other variants 31# 32# Effectively the JDK variant gives a name to a specific set of 33# modules to compile into the JDK. 34AC_DEFUN_ONCE([JDKOPT_SETUP_JDK_VARIANT], 35[ 36 AC_MSG_CHECKING([which variant of the JDK to build]) 37 AC_ARG_WITH([jdk-variant], [AS_HELP_STRING([--with-jdk-variant], 38 [JDK variant to build (normal) @<:@normal@:>@])]) 39 40 if test "x$with_jdk_variant" = xnormal || test "x$with_jdk_variant" = x; then 41 JDK_VARIANT="normal" 42 else 43 AC_MSG_ERROR([The available JDK variants are: normal]) 44 fi 45 46 AC_SUBST(JDK_VARIANT) 47 48 AC_MSG_RESULT([$JDK_VARIANT]) 49]) 50 51############################################################################### 52# Set the debug level 53# release: no debug information, all optimizations, no asserts. 54# optimized: no debug information, all optimizations, no asserts, HotSpot target is 'optimized'. 55# fastdebug: debug information (-g), all optimizations, all asserts 56# slowdebug: debug information (-g), no optimizations, all asserts 57AC_DEFUN_ONCE([JDKOPT_SETUP_DEBUG_LEVEL], 58[ 59 DEBUG_LEVEL="release" 60 AC_MSG_CHECKING([which debug level to use]) 61 AC_ARG_ENABLE([debug], [AS_HELP_STRING([--enable-debug], 62 [set the debug level to fastdebug (shorthand for --with-debug-level=fastdebug) @<:@disabled@:>@])], 63 [ 64 ENABLE_DEBUG="${enableval}" 65 DEBUG_LEVEL="fastdebug" 66 ], [ENABLE_DEBUG="no"]) 67 68 AC_ARG_WITH([debug-level], [AS_HELP_STRING([--with-debug-level], 69 [set the debug level (release, fastdebug, slowdebug, optimized) @<:@release@:>@])], 70 [ 71 DEBUG_LEVEL="${withval}" 72 if test "x$ENABLE_DEBUG" = xyes; then 73 AC_MSG_ERROR([You cannot use both --enable-debug and --with-debug-level at the same time.]) 74 fi 75 ]) 76 AC_MSG_RESULT([$DEBUG_LEVEL]) 77 78 if test "x$DEBUG_LEVEL" != xrelease && \ 79 test "x$DEBUG_LEVEL" != xoptimized && \ 80 test "x$DEBUG_LEVEL" != xfastdebug && \ 81 test "x$DEBUG_LEVEL" != xslowdebug; then 82 AC_MSG_ERROR([Allowed debug levels are: release, fastdebug, slowdebug and optimized]) 83 fi 84 85 # Translate DEBUG_LEVEL to debug level used by Hotspot 86 HOTSPOT_DEBUG_LEVEL="$DEBUG_LEVEL" 87 if test "x$DEBUG_LEVEL" = xrelease; then 88 HOTSPOT_DEBUG_LEVEL="product" 89 elif test "x$DEBUG_LEVEL" = xslowdebug; then 90 HOTSPOT_DEBUG_LEVEL="debug" 91 fi 92 93 if test "x$DEBUG_LEVEL" = xoptimized; then 94 # The debug level 'optimized' is a little special because it is currently only 95 # applicable to the HotSpot build where it means to build a completely 96 # optimized version of the VM without any debugging code (like for the 97 # 'release' debug level which is called 'product' in the HotSpot build) but 98 # with the exception that it can contain additional code which is otherwise 99 # protected by '#ifndef PRODUCT' macros. These 'optimized' builds are used to 100 # test new and/or experimental features which are not intended for customer 101 # shipment. Because these new features need to be tested and benchmarked in 102 # real world scenarios, we want to build the containing JDK at the 'release' 103 # debug level. 104 DEBUG_LEVEL="release" 105 fi 106 107 AC_SUBST(HOTSPOT_DEBUG_LEVEL) 108 AC_SUBST(DEBUG_LEVEL) 109]) 110 111############################################################################### 112# 113# Should we build only OpenJDK even if closed sources are present? 114# 115AC_DEFUN_ONCE([JDKOPT_SETUP_OPEN_OR_CUSTOM], 116[ 117 AC_ARG_ENABLE([openjdk-only], [AS_HELP_STRING([--enable-openjdk-only], 118 [suppress building custom source even if present @<:@disabled@:>@])],,[enable_openjdk_only="no"]) 119 120 AC_MSG_CHECKING([if custom source is suppressed (openjdk-only)]) 121 AC_MSG_RESULT([$enable_openjdk_only]) 122 if test "x$enable_openjdk_only" = "xyes"; then 123 SUPPRESS_CUSTOM_EXTENSIONS="true" 124 elif test "x$enable_openjdk_only" = "xno"; then 125 SUPPRESS_CUSTOM_EXTENSIONS="false" 126 else 127 AC_MSG_ERROR([Invalid value for --enable-openjdk-only: $enable_openjdk_only]) 128 fi 129 130 # custom-make-dir is deprecated. Please use your custom-hook.m4 to override 131 # the IncludeCustomExtension macro. 132 BASIC_DEPRECATED_ARG_WITH(custom-make-dir) 133]) 134 135AC_DEFUN_ONCE([JDKOPT_SETUP_JDK_OPTIONS], 136[ 137 # Should we build a JDK without a graphical UI? 138 AC_MSG_CHECKING([headless only]) 139 AC_ARG_ENABLE([headless-only], [AS_HELP_STRING([--enable-headless-only], 140 [only build headless (no GUI) support @<:@disabled@:>@])]) 141 142 if test "x$enable_headless_only" = "xyes"; then 143 ENABLE_HEADLESS_ONLY="true" 144 AC_MSG_RESULT([yes]) 145 elif test "x$enable_headless_only" = "xno"; then 146 ENABLE_HEADLESS_ONLY="false" 147 AC_MSG_RESULT([no]) 148 elif test "x$enable_headless_only" = "x"; then 149 ENABLE_HEADLESS_ONLY="false" 150 AC_MSG_RESULT([no]) 151 else 152 AC_MSG_ERROR([--enable-headless-only can only take yes or no]) 153 fi 154 155 AC_SUBST(ENABLE_HEADLESS_ONLY) 156 157 # Should we build the complete docs, or just a lightweight version? 158 AC_ARG_ENABLE([full-docs], [AS_HELP_STRING([--enable-full-docs], 159 [build complete documentation @<:@disabled@:>@])]) 160 161 # Verify dependencies 162 AC_MSG_CHECKING([for graphviz dot]) 163 if test "x$DOT" != "x"; then 164 AC_MSG_RESULT([yes]) 165 else 166 AC_MSG_RESULT([no, cannot generate full docs]) 167 FULL_DOCS_DEP_MISSING=true 168 fi 169 170 AC_MSG_CHECKING([full docs]) 171 if test "x$enable_full_docs" = xyes; then 172 if test "x$FULL_DOCS_DEP_MISSING" = "xtrue"; then 173 AC_MSG_RESULT([no, missing dependencies]) 174 HELP_MSG_MISSING_DEPENDENCY([dot]) 175 AC_MSG_ERROR([Cannot enable full docs with missing dependencies. See above. $HELP_MSG]) 176 else 177 ENABLE_FULL_DOCS=true 178 AC_MSG_RESULT([yes, forced]) 179 fi 180 elif test "x$enable_full_docs" = xno; then 181 ENABLE_FULL_DOCS=false 182 AC_MSG_RESULT([no, forced]) 183 elif test "x$enable_full_docs" = x; then 184 ENABLE_FULL_DOCS=false 185 AC_MSG_RESULT([no, default]) 186 else 187 AC_MSG_ERROR([--enable-full-docs can only take yes or no]) 188 fi 189 190 AC_SUBST(ENABLE_FULL_DOCS) 191 192 # Choose cacerts source file 193 AC_ARG_WITH(cacerts-file, [AS_HELP_STRING([--with-cacerts-file], 194 [specify alternative cacerts file])]) 195 if test "x$with_cacerts_file" != x; then 196 CACERTS_FILE=$with_cacerts_file 197 fi 198 AC_SUBST(CACERTS_FILE) 199 200 # Enable or disable unlimited crypto 201 AC_ARG_ENABLE(unlimited-crypto, [AS_HELP_STRING([--disable-unlimited-crypto], 202 [Disable unlimited crypto policy @<:@enabled@:>@])],, 203 [enable_unlimited_crypto=yes]) 204 if test "x$enable_unlimited_crypto" = "xyes"; then 205 UNLIMITED_CRYPTO=true 206 else 207 UNLIMITED_CRYPTO=false 208 fi 209 AC_SUBST(UNLIMITED_CRYPTO) 210 211 # Should we build the serviceability agent (SA)? 212 INCLUDE_SA=true 213 if HOTSPOT_CHECK_JVM_VARIANT(zero) || HOTSPOT_CHECK_JVM_VARIANT(zeroshark); then 214 INCLUDE_SA=false 215 fi 216 if test "x$OPENJDK_TARGET_OS" = xaix ; then 217 INCLUDE_SA=false 218 fi 219 AC_SUBST(INCLUDE_SA) 220 221 # Compress jars 222 COMPRESS_JARS=false 223 224 AC_SUBST(COMPRESS_JARS) 225 226 # Setup default copyright year. Mostly overridden when building close to a new year. 227 AC_ARG_WITH(copyright-year, [AS_HELP_STRING([--with-copyright-year], 228 [Set copyright year value for build @<:@current year@:>@])]) 229 if test "x$with_copyright_year" = xyes; then 230 AC_MSG_ERROR([Copyright year must have a value]) 231 elif test "x$with_copyright_year" != x; then 232 COPYRIGHT_YEAR="$with_copyright_year" 233 else 234 COPYRIGHT_YEAR=`$DATE +'%Y'` 235 fi 236 AC_SUBST(COPYRIGHT_YEAR) 237]) 238 239############################################################################### 240# 241# Enable or disable the elliptic curve crypto implementation 242# 243AC_DEFUN_ONCE([JDKOPT_DETECT_INTREE_EC], 244[ 245 AC_MSG_CHECKING([if elliptic curve crypto implementation is present]) 246 247 if test -d "${SRC_ROOT}/jdk/src/jdk.crypto.ec/share/native/libsunec/impl"; then 248 ENABLE_INTREE_EC=true 249 AC_MSG_RESULT([yes]) 250 else 251 ENABLE_INTREE_EC=false 252 AC_MSG_RESULT([no]) 253 fi 254 255 AC_SUBST(ENABLE_INTREE_EC) 256]) 257 258AC_DEFUN_ONCE([JDKOPT_SETUP_DEBUG_SYMBOLS], 259[ 260 # 261 # NATIVE_DEBUG_SYMBOLS 262 # This must be done after the toolchain is setup, since we're looking at objcopy. 263 # 264 AC_MSG_CHECKING([what type of native debug symbols to use]) 265 AC_ARG_WITH([native-debug-symbols], 266 [AS_HELP_STRING([--with-native-debug-symbols], 267 [set the native debug symbol configuration (none, internal, external, zipped) @<:@varying@:>@])], 268 [ 269 if test "x$OPENJDK_TARGET_OS" = xaix; then 270 if test "x$withval" = xexternal || test "x$withval" = xzipped; then 271 AC_MSG_ERROR([AIX only supports the parameters 'none' and 'internal' for --with-native-debug-symbols]) 272 fi 273 fi 274 ], 275 [ 276 if test "x$OPENJDK_TARGET_OS" = xaix; then 277 # AIX doesn't support 'zipped' so use 'internal' as default 278 with_native_debug_symbols="internal" 279 else 280 if test "x$STATIC_BUILD" = xtrue; then 281 with_native_debug_symbols="none" 282 else 283 with_native_debug_symbols="zipped" 284 fi 285 fi 286 ]) 287 NATIVE_DEBUG_SYMBOLS=$with_native_debug_symbols 288 AC_MSG_RESULT([$NATIVE_DEBUG_SYMBOLS]) 289 290 if test "x$NATIVE_DEBUG_SYMBOLS" = xzipped; then 291 292 if test "x$OPENJDK_TARGET_OS" = xsolaris || test "x$OPENJDK_TARGET_OS" = xlinux; then 293 if test "x$OBJCOPY" = x; then 294 # enabling of enable-debug-symbols and can't find objcopy 295 # this is an error 296 AC_MSG_ERROR([Unable to find objcopy, cannot enable native debug symbols]) 297 fi 298 fi 299 300 COMPILE_WITH_DEBUG_SYMBOLS=true 301 COPY_DEBUG_SYMBOLS=true 302 ZIP_EXTERNAL_DEBUG_SYMBOLS=true 303 elif test "x$NATIVE_DEBUG_SYMBOLS" = xnone; then 304 COMPILE_WITH_DEBUG_SYMBOLS=false 305 COPY_DEBUG_SYMBOLS=false 306 ZIP_EXTERNAL_DEBUG_SYMBOLS=false 307 elif test "x$NATIVE_DEBUG_SYMBOLS" = xinternal; then 308 COMPILE_WITH_DEBUG_SYMBOLS=true 309 COPY_DEBUG_SYMBOLS=false 310 ZIP_EXTERNAL_DEBUG_SYMBOLS=false 311 elif test "x$NATIVE_DEBUG_SYMBOLS" = xexternal; then 312 313 if test "x$OPENJDK_TARGET_OS" = xsolaris || test "x$OPENJDK_TARGET_OS" = xlinux; then 314 if test "x$OBJCOPY" = x; then 315 # enabling of enable-debug-symbols and can't find objcopy 316 # this is an error 317 AC_MSG_ERROR([Unable to find objcopy, cannot enable native debug symbols]) 318 fi 319 fi 320 321 COMPILE_WITH_DEBUG_SYMBOLS=true 322 COPY_DEBUG_SYMBOLS=true 323 ZIP_EXTERNAL_DEBUG_SYMBOLS=false 324 else 325 AC_MSG_ERROR([Allowed native debug symbols are: none, internal, external, zipped]) 326 fi 327 328 # --enable-debug-symbols is deprecated. 329 # Please use --with-native-debug-symbols=[internal,external,zipped] . 330 BASIC_DEPRECATED_ARG_ENABLE(debug-symbols, debug_symbols, 331 [Please use --with-native-debug-symbols=[[internal,external,zipped]] .]) 332 333 # --enable-zip-debug-info is deprecated. 334 # Please use --with-native-debug-symbols=zipped . 335 BASIC_DEPRECATED_ARG_ENABLE(zip-debug-info, zip_debug_info, 336 [Please use --with-native-debug-symbols=zipped .]) 337 338 AC_SUBST(COMPILE_WITH_DEBUG_SYMBOLS) 339 AC_SUBST(COPY_DEBUG_SYMBOLS) 340 AC_SUBST(ZIP_EXTERNAL_DEBUG_SYMBOLS) 341]) 342 343################################################################################ 344# 345# Gcov coverage data for hotspot 346# 347AC_DEFUN_ONCE([JDKOPT_SETUP_CODE_COVERAGE], 348[ 349 AC_ARG_ENABLE(native-coverage, [AS_HELP_STRING([--enable-native-coverage], 350 [enable native compilation with code coverage data@<:@disabled@:>@])]) 351 GCOV_ENABLED="false" 352 if test "x$enable_native_coverage" = "xyes"; then 353 if test "x$TOOLCHAIN_TYPE" = "xgcc"; then 354 AC_MSG_CHECKING([if native coverage is enabled]) 355 AC_MSG_RESULT([yes]) 356 GCOV_CFLAGS="-fprofile-arcs -ftest-coverage -fno-inline" 357 GCOV_LDFLAGS="-fprofile-arcs" 358 JVM_CFLAGS="$JVM_CFLAGS $GCOV_CFLAGS" 359 JVM_LDFLAGS="$JVM_LDFLAGS $GCOV_LDFLAGS" 360 CFLAGS_JDKLIB="$CFLAGS_JDKLIB $GCOV_CFLAGS" 361 CFLAGS_JDKEXE="$CFLAGS_JDKEXE $GCOV_CFLAGS" 362 CXXFLAGS_JDKLIB="$CXXFLAGS_JDKLIB $GCOV_CFLAGS" 363 CXXFLAGS_JDKEXE="$CXXFLAGS_JDKEXE $GCOV_CFLAGS" 364 LDFLAGS_JDKLIB="$LDFLAGS_JDKLIB $GCOV_LDFLAGS" 365 LDFLAGS_JDKEXE="$LDFLAGS_JDKEXE $GCOV_LDFLAGS" 366 GCOV_ENABLED="true" 367 else 368 AC_MSG_ERROR([--enable-native-coverage only works with toolchain type gcc]) 369 fi 370 elif test "x$enable_native_coverage" = "xno"; then 371 AC_MSG_CHECKING([if native coverage is enabled]) 372 AC_MSG_RESULT([no]) 373 elif test "x$enable_native_coverage" != "x"; then 374 AC_MSG_ERROR([--enable-native-coverage can only be assigned "yes" or "no"]) 375 fi 376 377 AC_SUBST(GCOV_ENABLED) 378]) 379 380################################################################################ 381# 382# Static build support. When enabled will generate static 383# libraries instead of shared libraries for all JDK libs. 384# 385AC_DEFUN_ONCE([JDKOPT_SETUP_STATIC_BUILD], 386[ 387 AC_ARG_ENABLE([static-build], [AS_HELP_STRING([--enable-static-build], 388 [enable static library build @<:@disabled@:>@])]) 389 STATIC_BUILD=false 390 if test "x$enable_static_build" = "xyes"; then 391 AC_MSG_CHECKING([if static build is enabled]) 392 AC_MSG_RESULT([yes]) 393 if test "x$OPENJDK_TARGET_OS" != "xmacosx"; then 394 AC_MSG_ERROR([--enable-static-build is only supported for macosx builds]) 395 fi 396 STATIC_BUILD_CFLAGS="-DSTATIC_BUILD=1" 397 CFLAGS_JDKLIB_EXTRA="$CFLAGS_JDKLIB_EXTRA $STATIC_BUILD_CFLAGS" 398 CXXFLAGS_JDKLIB_EXTRA="$CXXFLAGS_JDKLIB_EXTRA $STATIC_BUILD_CFLAGS" 399 STATIC_BUILD=true 400 elif test "x$enable_static_build" = "xno"; then 401 AC_MSG_CHECKING([if static build is enabled]) 402 AC_MSG_RESULT([no]) 403 elif test "x$enable_static_build" != "x"; then 404 AC_MSG_ERROR([--enable-static-build can only be assigned "yes" or "no"]) 405 fi 406 407 AC_SUBST(STATIC_BUILD) 408]) 409 410################################################################################ 411# 412# jlink options. 413# We always keep packaged modules in JDK image. 414# 415AC_DEFUN_ONCE([JDKOPT_SETUP_JLINK_OPTIONS], 416[ 417 AC_ARG_ENABLE([keep-packaged-modules], [AS_HELP_STRING([--disable-keep-packaged-modules], 418 [Do not keep packaged modules in jdk image @<:@enable@:>@])]) 419 420 AC_MSG_CHECKING([if packaged modules are kept]) 421 if test "x$enable_keep_packaged_modules" = "xyes"; then 422 AC_MSG_RESULT([yes]) 423 JLINK_KEEP_PACKAGED_MODULES=true 424 elif test "x$enable_keep_packaged_modules" = "xno"; then 425 AC_MSG_RESULT([no]) 426 JLINK_KEEP_PACKAGED_MODULES=false 427 elif test "x$enable_keep_packaged_modules" = "x"; then 428 AC_MSG_RESULT([yes (default)]) 429 JLINK_KEEP_PACKAGED_MODULES=true 430 else 431 AC_MSG_RESULT([error]) 432 AC_MSG_ERROR([--enable-keep-packaged-modules accepts no argument]) 433 fi 434 435 AC_SUBST(JLINK_KEEP_PACKAGED_MODULES) 436]) 437 438################################################################################ 439# 440# Check if building of the jtreg failure handler should be enabled. 441# 442AC_DEFUN_ONCE([JDKOPT_ENABLE_DISABLE_FAILURE_HANDLER], 443[ 444 AC_ARG_ENABLE([jtreg-failure-handler], [AS_HELP_STRING([--enable-jtreg-failure-handler], 445 [forces build of the jtreg failure handler to be enabled, missing dependencies 446 become fatal errors. Default is auto, where the failure handler is built if all 447 dependencies are present and otherwise just disabled.])]) 448 449 AC_MSG_CHECKING([if jtreg failure handler should be built]) 450 451 if test "x$enable_jtreg_failure_handler" = "xyes"; then 452 if test "x$JT_HOME" = "x"; then 453 AC_MSG_ERROR([Cannot enable jtreg failure handler without jtreg.]) 454 else 455 BUILD_FAILURE_HANDLER=true 456 AC_MSG_RESULT([yes, forced]) 457 fi 458 elif test "x$enable_jtreg_failure_handler" = "xno"; then 459 BUILD_FAILURE_HANDLER=false 460 AC_MSG_RESULT([no, forced]) 461 elif test "x$enable_jtreg_failure_handler" = "xauto" \ 462 || test "x$enable_jtreg_failure_handler" = "x"; then 463 if test "x$JT_HOME" = "x"; then 464 BUILD_FAILURE_HANDLER=false 465 AC_MSG_RESULT([no, missing jtreg]) 466 else 467 BUILD_FAILURE_HANDLER=true 468 AC_MSG_RESULT([yes, jtreg present]) 469 fi 470 else 471 AC_MSG_ERROR([Invalid value for --enable-jtreg-failure-handler: $enable_jtreg_failure_handler]) 472 fi 473 474 AC_SUBST(BUILD_FAILURE_HANDLER) 475]) 476 477################################################################################ 478# 479# Enable or disable generation of the classlist at build time 480# 481AC_DEFUN_ONCE([JDKOPT_ENABLE_DISABLE_GENERATE_CLASSLIST], 482[ 483 AC_ARG_ENABLE([generate-classlist], [AS_HELP_STRING([--disable-generate-classlist], 484 [forces enabling or disabling of the generation of a CDS classlist at build time. 485 Default is to generate it when either the server or client JVMs are built.])]) 486 487 # Check if it's likely that it's possible to generate the classlist. Depending 488 # on exact jvm configuration it could be possible anyway. 489 if HOTSPOT_CHECK_JVM_VARIANT(server) || HOTSPOT_CHECK_JVM_VARIANT(client); then 490 ENABLE_GENERATE_CLASSLIST_POSSIBLE="true" 491 else 492 ENABLE_GENERATE_CLASSLIST_POSSIBLE="false" 493 fi 494 495 AC_MSG_CHECKING([if the CDS classlist generation should be enabled]) 496 if test "x$enable_generate_classlist" = "xyes"; then 497 AC_MSG_RESULT([yes, forced]) 498 ENABLE_GENERATE_CLASSLIST="true" 499 if test "x$ENABLE_GENERATE_CLASSLIST_POSSIBLE" = "xfalse"; then 500 AC_MSG_WARN([Generation of classlist might not be possible with JVM Variants $JVM_VARIANTS]) 501 fi 502 elif test "x$enable_generate_classlist" = "xno"; then 503 AC_MSG_RESULT([no, forced]) 504 ENABLE_GENERATE_CLASSLIST="false" 505 elif test "x$enable_generate_classlist" = "x"; then 506 if test "x$ENABLE_GENERATE_CLASSLIST_POSSIBLE" = "xtrue"; then 507 AC_MSG_RESULT([yes]) 508 ENABLE_GENERATE_CLASSLIST="true" 509 else 510 AC_MSG_RESULT([no]) 511 ENABLE_GENERATE_CLASSLIST="false" 512 fi 513 else 514 AC_MSG_ERROR([Invalid value for --enable-generate-classlist: $enable_generate_classlist]) 515 fi 516 517 AC_SUBST(ENABLE_GENERATE_CLASSLIST) 518]) 519