equal
deleted
inserted
replaced
1 # |
1 # |
2 # Copyright (c) 2011, 2017, Oracle and/or its affiliates. All rights reserved. |
2 # Copyright (c) 2011, 2018, Oracle and/or its affiliates. All rights reserved. |
3 # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
3 # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
4 # |
4 # |
5 # This code is free software; you can redistribute it and/or modify it |
5 # This code is free software; you can redistribute it and/or modify it |
6 # under the terms of the GNU General Public License version 2 only, as |
6 # under the terms of the GNU General Public License version 2 only, as |
7 # published by the Free Software Foundation. Oracle designates this |
7 # published by the Free Software Foundation. Oracle designates this |
580 AC_MSG_ERROR([Invalid value for --enable-generate-classlist: $enable_generate_classlist]) |
580 AC_MSG_ERROR([Invalid value for --enable-generate-classlist: $enable_generate_classlist]) |
581 fi |
581 fi |
582 |
582 |
583 AC_SUBST(ENABLE_GENERATE_CLASSLIST) |
583 AC_SUBST(ENABLE_GENERATE_CLASSLIST) |
584 ]) |
584 ]) |
|
585 |
|
586 ################################################################################ |
|
587 # |
|
588 # Optionally filter resource translations |
|
589 # |
|
590 AC_DEFUN([JDKOPT_EXCLUDE_TRANSLATIONS], |
|
591 [ |
|
592 AC_ARG_WITH([exclude-translations], [AS_HELP_STRING([--with-exclude-translations], |
|
593 [a comma separated list of locales to exclude translations for. Default is |
|
594 to include all translations present in the source.])]) |
|
595 |
|
596 EXCLUDE_TRANSLATIONS="" |
|
597 AC_MSG_CHECKING([if any translations should be excluded]) |
|
598 if test "x$with_exclude_translations" != "x"; then |
|
599 EXCLUDE_TRANSLATIONS="${with_exclude_translations//,/ }" |
|
600 AC_MSG_RESULT([yes: $EXCLUDE_TRANSLATIONS]) |
|
601 else |
|
602 AC_MSG_RESULT([no]) |
|
603 fi |
|
604 |
|
605 AC_SUBST(EXCLUDE_TRANSLATIONS) |
|
606 ]) |