< prev index next >

make/autoconf/jdk-options.m4

Print this page
rev 57725 : 8237192: Generate stripped/public pdbs on Windows for jdk images

@@ -137,10 +137,31 @@
     AC_MSG_ERROR([--enable-headless-only can only take yes or no])
   fi
 
   AC_SUBST(ENABLE_HEADLESS_ONLY)
 
+  # Should we offer stripped("public") pdbs too ?
+  AC_MSG_CHECKING([stripped pdbs])
+  AC_ARG_ENABLE([stripped-pdbs], [AS_HELP_STRING([--enable-stripped-pdbs],
+      [create (on Windows) stripped pdb files too @<:@disabled@:>@])])
+
+  if test "x$enable_stripped_pdbs" = "xyes"; then
+    ENABLE_STRIPPED_PDBS="true"
+    AC_MSG_RESULT([yes])
+  elif test "x$enable_stripped_pdbs" = "xno"; then
+    ENABLE_STRIPPED_PDBS="false"
+    AC_MSG_RESULT([no])
+  elif test "x$enable_stripped_pdbs" = "x"; then
+    ENABLE_STRIPPED_PDBS="true"
+    AC_MSG_RESULT([no])
+  else
+    AC_MSG_ERROR([--enable-stripped-pdbs can only take yes or no])
+  fi
+
+  AC_SUBST(ENABLE_STRIPPED_PDBS)
+
+
   # Should we build the complete docs, or just a lightweight version?
   AC_ARG_ENABLE([full-docs], [AS_HELP_STRING([--enable-full-docs],
       [build complete documentation @<:@enabled if all tools found@:>@])])
 
   # Verify dependencies
< prev index next >