make/autoconf/jdk-version.m4
changeset 58842 6c255334120d
parent 54565 3b2101f56cdd
equal deleted inserted replaced
58836:31ec3e55fa3d 58842:6c255334120d
   160       [Sets the bug URL which will be displayed when the VM crashes @<:@not specified@:>@])])
   160       [Sets the bug URL which will be displayed when the VM crashes @<:@not specified@:>@])])
   161   if test "x$with_vendor_vm_bug_url" = xyes; then
   161   if test "x$with_vendor_vm_bug_url" = xyes; then
   162     AC_MSG_ERROR([--with-vendor-vm-bug-url must have a value])
   162     AC_MSG_ERROR([--with-vendor-vm-bug-url must have a value])
   163   elif [ ! [[ $with_vendor_vm_bug_url =~ ^[[:print:]]*$ ]] ]; then
   163   elif [ ! [[ $with_vendor_vm_bug_url =~ ^[[:print:]]*$ ]] ]; then
   164     AC_MSG_ERROR([--with-vendor-vm-bug-url contains non-printing characters: $with_vendor_vm_bug_url])
   164     AC_MSG_ERROR([--with-vendor-vm-bug-url contains non-printing characters: $with_vendor_vm_bug_url])
   165   else
   165   elif test "x$with_vendor_vm_bug_url" != x; then
       
   166     # Only set VENDOR_URL_VM_BUG if '--with-vendor-vm-bug-url' was used and is not empty.
       
   167     # Otherwise we will use the value from "version-numbers" included above.
   166     VENDOR_URL_VM_BUG="$with_vendor_vm_bug_url"
   168     VENDOR_URL_VM_BUG="$with_vendor_vm_bug_url"
   167   fi
   169   fi
   168   AC_SUBST(VENDOR_URL_VM_BUG)
   170   AC_SUBST(VENDOR_URL_VM_BUG)
   169 
   171 
   170   # Override version from arguments
   172   # Override version from arguments