879 # We can build without it. 880 LDD="true" 881 fi 882 BASIC_PATH_PROGS(OTOOL, otool) 883 if test "x$OTOOL" = "x"; then 884 OTOOL="true" 885 fi 886 BASIC_PATH_PROGS(READELF, [greadelf readelf]) 887 BASIC_PATH_PROGS(HG, hg) 888 BASIC_PATH_PROGS(STAT, stat) 889 BASIC_PATH_PROGS(TIME, time) 890 # Check if it's GNU time 891 IS_GNU_TIME=`$TIME --version 2>&1 | $GREP 'GNU time'` 892 if test "x$IS_GNU_TIME" != x; then 893 IS_GNU_TIME=yes 894 else 895 IS_GNU_TIME=no 896 fi 897 AC_SUBST(IS_GNU_TIME) 898 899 if test "x$OPENJDK_TARGET_OS" = "xwindows"; then 900 BASIC_REQUIRE_PROGS(COMM, comm) 901 fi 902 903 if test "x$OPENJDK_TARGET_OS" = "xmacosx"; then 904 BASIC_REQUIRE_PROGS(DSYMUTIL, dsymutil) 905 BASIC_REQUIRE_PROGS(XATTR, xattr) 906 BASIC_PATH_PROGS(CODESIGN, codesign) 907 if test "x$CODESIGN" != "x"; then 908 # Verify that the openjdk_codesign certificate is present 909 AC_MSG_CHECKING([if openjdk_codesign certificate is present]) 910 rm -f codesign-testfile 911 touch codesign-testfile 912 codesign -s openjdk_codesign codesign-testfile 2>&AS_MESSAGE_LOG_FD >&AS_MESSAGE_LOG_FD || CODESIGN= 913 rm -f codesign-testfile 914 if test "x$CODESIGN" = x; then 915 AC_MSG_RESULT([no]) 916 else 917 AC_MSG_RESULT([yes]) 918 fi 919 fi 920 fi 921 ]) 922 | 879 # We can build without it. 880 LDD="true" 881 fi 882 BASIC_PATH_PROGS(OTOOL, otool) 883 if test "x$OTOOL" = "x"; then 884 OTOOL="true" 885 fi 886 BASIC_PATH_PROGS(READELF, [greadelf readelf]) 887 BASIC_PATH_PROGS(HG, hg) 888 BASIC_PATH_PROGS(STAT, stat) 889 BASIC_PATH_PROGS(TIME, time) 890 # Check if it's GNU time 891 IS_GNU_TIME=`$TIME --version 2>&1 | $GREP 'GNU time'` 892 if test "x$IS_GNU_TIME" != x; then 893 IS_GNU_TIME=yes 894 else 895 IS_GNU_TIME=no 896 fi 897 AC_SUBST(IS_GNU_TIME) 898 899 if test "x$OPENJDK_TARGET_OS" = "xmacosx"; then 900 BASIC_REQUIRE_PROGS(DSYMUTIL, dsymutil) 901 BASIC_REQUIRE_PROGS(XATTR, xattr) 902 BASIC_PATH_PROGS(CODESIGN, codesign) 903 if test "x$CODESIGN" != "x"; then 904 # Verify that the openjdk_codesign certificate is present 905 AC_MSG_CHECKING([if openjdk_codesign certificate is present]) 906 rm -f codesign-testfile 907 touch codesign-testfile 908 codesign -s openjdk_codesign codesign-testfile 2>&AS_MESSAGE_LOG_FD >&AS_MESSAGE_LOG_FD || CODESIGN= 909 rm -f codesign-testfile 910 if test "x$CODESIGN" = x; then 911 AC_MSG_RESULT([no]) 912 else 913 AC_MSG_RESULT([yes]) 914 fi 915 fi 916 fi 917 ]) 918 |