< prev index next >
common/autoconf/jdk-options.m4
Print this page
rev 1835 : 8145560: AIX: change '8036003: Add --with-debug-symbols' broke AIX build
*** 221,232 ****
#
AC_MSG_CHECKING([what type of native debug symbols to use])
AC_ARG_WITH([native-debug-symbols],
[AS_HELP_STRING([--with-native-debug-symbols],
[set the native debug symbol configuration (none, internal, external, zipped) @<:@zipped@:>@])],
! [],
! [with_native_debug_symbols="zipped"])
NATIVE_DEBUG_SYMBOLS=$with_native_debug_symbols
AC_MSG_RESULT([$NATIVE_DEBUG_SYMBOLS])
if test "x$NATIVE_DEBUG_SYMBOLS" = xzipped; then
--- 221,245 ----
#
AC_MSG_CHECKING([what type of native debug symbols to use])
AC_ARG_WITH([native-debug-symbols],
[AS_HELP_STRING([--with-native-debug-symbols],
[set the native debug symbol configuration (none, internal, external, zipped) @<:@zipped@:>@])],
! [
! if test "x$OPENJDK_TARGET_OS" = xaix; then
! if test "x$withval" = xexternal || test "x$withval" = xzipped; then
! AC_MSG_ERROR([AIX only supports the parameters 'none' and 'internal' for --with-native-debug-symbols])
! fi
! fi
! ],
! [
! if test "x$OPENJDK_TARGET_OS" = xaix; then
! # AIX doesn't support 'zipped' so use 'internal' as default
! with_native_debug_symbols="internal"
! else
! with_native_debug_symbols="zipped"
! fi
! ])
NATIVE_DEBUG_SYMBOLS=$with_native_debug_symbols
AC_MSG_RESULT([$NATIVE_DEBUG_SYMBOLS])
if test "x$NATIVE_DEBUG_SYMBOLS" = xzipped; then
< prev index next >