common/autoconf/jdk-options.m4

changeset 1253
01a985323484
parent 1028
feeb67be5886
child 1255
ce5888edb9de
     1.1 --- a/common/autoconf/jdk-options.m4	Mon Nov 17 12:37:48 2014 -0800
     1.2 +++ b/common/autoconf/jdk-options.m4	Wed Nov 19 14:00:44 2014 -0800
     1.3 @@ -510,7 +510,15 @@
     1.4    AC_SUBST(MACOSX_BUNDLE_NAME_BASE)
     1.5    AC_SUBST(MACOSX_BUNDLE_ID_BASE)
     1.6  
     1.7 -  COPYRIGHT_YEAR=`date +'%Y'`
     1.8 +  AC_ARG_WITH(copyright-year, [AS_HELP_STRING([--with-copyright-year],
     1.9 +      [Set copyright year value for build @<:@current year@:>@])])
    1.10 +  if test "x$with_copyright_year" = xyes; then
    1.11 +    AC_MSG_ERROR([Copyright year must have a value])
    1.12 +  elif test "x$with_copyright_year" != x; then
    1.13 +    COPYRIGHT_YEAR="$with_copyright_year"
    1.14 +  else
    1.15 +    COPYRIGHT_YEAR=`date +'%Y'`
    1.16 +  fi
    1.17    AC_SUBST(COPYRIGHT_YEAR)
    1.18  
    1.19    if test "x$JDK_UPDATE_VERSION" != x; then

mercurial