< prev index next >
common/autoconf/jdk-options.m4
Print this page
*** 622,633 ****
--- 622,653 ----
ZIP_DEBUGINFO_FILES=false
else
ZIP_DEBUGINFO_FILES=true
fi
+ #
+ # DEBUG_SYMBOLS
+ #
+ AC_MSG_CHECKING([what type of debug symbols to use])
+ DEBUG_SYMBOLS="zipped"
+ AC_ARG_WITH([debug-symbols], [AS_HELP_STRING([--with-debug-symbols],
+ [set the debug symbol configuration (none, internal, external, zipped) @<:@zipped@:>@])],
+ [
+ DEBUG_SYMBOLS="${withval}"
+ ])
+ AC_MSG_RESULT([$DEBUG_SYMBOLS])
+
+ if test "x$DEBUG_SYMBOLS" != xzipped && \
+ test "x$DEBUG_SYMBOLS" != xnone && \
+ test "x$DEBUG_SYMBOLS" != xinternal && \
+ test "x$DEBUG_SYMBOLS" != xexternal; then
+ AC_MSG_ERROR([Allowed debug symbols are: none, internal, external, zipped])
+ fi
+
AC_SUBST(ENABLE_DEBUG_SYMBOLS)
AC_SUBST(ZIP_DEBUGINFO_FILES)
+ AC_SUBST(DEBUG_SYMBOLS)
])
################################################################################
#
# Gcov coverage data for hotspot
< prev index next >