< prev index next >

common/autoconf/jdk-options.m4

Print this page




 532       USER_RELEASE_SUFFIX=`echo "${CLEAN_USERNAME}_${BUILD_DATE}" | $TR 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz'`
 533     fi
 534   fi
 535 
 536   # Now set the JDK version, milestone, build number etc.
 537   AC_SUBST(USER_RELEASE_SUFFIX)
 538   AC_SUBST(JDK_MAJOR_VERSION)
 539   AC_SUBST(JDK_MINOR_VERSION)
 540   AC_SUBST(JDK_MICRO_VERSION)
 541   AC_SUBST(JDK_UPDATE_VERSION)
 542   AC_SUBST(JDK_BUILD_NUMBER)
 543   AC_SUBST(MILESTONE)
 544   AC_SUBST(LAUNCHER_NAME)
 545   AC_SUBST(PRODUCT_NAME)
 546   AC_SUBST(PRODUCT_SUFFIX)
 547   AC_SUBST(JDK_RC_PLATFORM_NAME)
 548   AC_SUBST(COMPANY_NAME)
 549   AC_SUBST(MACOSX_BUNDLE_NAME_BASE)
 550   AC_SUBST(MACOSX_BUNDLE_ID_BASE)
 551 







 552   COPYRIGHT_YEAR=`date +'%Y'`

 553   AC_SUBST(COPYRIGHT_YEAR)
 554 
 555   if test "x$JDK_UPDATE_VERSION" != x; then
 556     JDK_VERSION="${JDK_MAJOR_VERSION}.${JDK_MINOR_VERSION}.${JDK_MICRO_VERSION}_${JDK_UPDATE_VERSION}"
 557   else
 558     JDK_VERSION="${JDK_MAJOR_VERSION}.${JDK_MINOR_VERSION}.${JDK_MICRO_VERSION}"
 559   fi
 560   AC_SUBST(JDK_VERSION)
 561 
 562   COOKED_BUILD_NUMBER=`$ECHO $JDK_BUILD_NUMBER | $SED -e 's/^b//' -e 's/^0//'`
 563   AC_SUBST(COOKED_BUILD_NUMBER)
 564 ])
 565 
 566 AC_DEFUN_ONCE([JDKOPT_SETUP_BUILD_TWEAKS],
 567 [
 568   HOTSPOT_MAKE_ARGS="$HOTSPOT_TARGET"
 569   AC_SUBST(HOTSPOT_MAKE_ARGS)
 570 
 571   # The name of the Service Agent jar.
 572   SALIB_NAME="${LIBRARY_PREFIX}saproc${SHARED_LIBRARY_SUFFIX}"




 532       USER_RELEASE_SUFFIX=`echo "${CLEAN_USERNAME}_${BUILD_DATE}" | $TR 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz'`
 533     fi
 534   fi
 535 
 536   # Now set the JDK version, milestone, build number etc.
 537   AC_SUBST(USER_RELEASE_SUFFIX)
 538   AC_SUBST(JDK_MAJOR_VERSION)
 539   AC_SUBST(JDK_MINOR_VERSION)
 540   AC_SUBST(JDK_MICRO_VERSION)
 541   AC_SUBST(JDK_UPDATE_VERSION)
 542   AC_SUBST(JDK_BUILD_NUMBER)
 543   AC_SUBST(MILESTONE)
 544   AC_SUBST(LAUNCHER_NAME)
 545   AC_SUBST(PRODUCT_NAME)
 546   AC_SUBST(PRODUCT_SUFFIX)
 547   AC_SUBST(JDK_RC_PLATFORM_NAME)
 548   AC_SUBST(COMPANY_NAME)
 549   AC_SUBST(MACOSX_BUNDLE_NAME_BASE)
 550   AC_SUBST(MACOSX_BUNDLE_ID_BASE)
 551 
 552   AC_ARG_WITH(copyright-year, [AS_HELP_STRING([--with-copyright-year],
 553       [Set copyright year value for build @<:@current year@:>@])])
 554   if test "x$with_copyright_year" = xyes; then
 555     AC_MSG_ERROR([Copyright year must have a value])
 556   elif test "x$with_copyright_year" != x; then
 557     COPYRIGHT_YEAR="$with_copyright_year"
 558   else
 559     COPYRIGHT_YEAR=`date +'%Y'`
 560   fi
 561   AC_SUBST(COPYRIGHT_YEAR)
 562 
 563   if test "x$JDK_UPDATE_VERSION" != x; then
 564     JDK_VERSION="${JDK_MAJOR_VERSION}.${JDK_MINOR_VERSION}.${JDK_MICRO_VERSION}_${JDK_UPDATE_VERSION}"
 565   else
 566     JDK_VERSION="${JDK_MAJOR_VERSION}.${JDK_MINOR_VERSION}.${JDK_MICRO_VERSION}"
 567   fi
 568   AC_SUBST(JDK_VERSION)
 569 
 570   COOKED_BUILD_NUMBER=`$ECHO $JDK_BUILD_NUMBER | $SED -e 's/^b//' -e 's/^0//'`
 571   AC_SUBST(COOKED_BUILD_NUMBER)
 572 ])
 573 
 574 AC_DEFUN_ONCE([JDKOPT_SETUP_BUILD_TWEAKS],
 575 [
 576   HOTSPOT_MAKE_ARGS="$HOTSPOT_TARGET"
 577   AC_SUBST(HOTSPOT_MAKE_ARGS)
 578 
 579   # The name of the Service Agent jar.
 580   SALIB_NAME="${LIBRARY_PREFIX}saproc${SHARED_LIBRARY_SUFFIX}"


< prev index next >