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