615 BASIC_REQUIRE_PROG(COMM, comm) |
615 BASIC_REQUIRE_PROG(COMM, comm) |
616 fi |
616 fi |
617 |
617 |
618 if test "x$OPENJDK_TARGET_OS" = "xmacosx"; then |
618 if test "x$OPENJDK_TARGET_OS" = "xmacosx"; then |
619 BASIC_REQUIRE_PROG(XATTR, xattr) |
619 BASIC_REQUIRE_PROG(XATTR, xattr) |
|
620 AC_PATH_PROG(CODESIGN, codesign) |
|
621 if test "x$CODESIGN" != "x"; then |
|
622 # Verify that the openjdk_codesign certificate is present |
|
623 AC_MSG_CHECKING([if openjdk_codesign certificate is present]) |
|
624 rm -f codesign-testfile |
|
625 touch codesign-testfile |
|
626 codesign -s openjdk_codesign codesign-testfile 2>&AS_MESSAGE_LOG_FD >&AS_MESSAGE_LOG_FD || CODESIGN= |
|
627 rm -f codesign-testfile |
|
628 if test "x$CODESIGN" = x; then |
|
629 AC_MSG_RESULT([no]) |
|
630 else |
|
631 AC_MSG_RESULT([yes]) |
|
632 fi |
|
633 fi |
620 fi |
634 fi |
621 ]) |
635 ]) |
622 |
636 |
623 # Check if build directory is on local disk. If not possible to determine, |
637 # Check if build directory is on local disk. If not possible to determine, |
624 # we prefer to claim it's local. |
638 # we prefer to claim it's local. |