Ticket #21500: patch-configure.ac.diff

File patch-configure.ac.diff, 923 bytes (added by mvfranz@…, 15 years ago)

Patches to IcedTea's configure script

  • configure.ac

    old new  
    2525FIND_TOOL([PATCH], [patch])
    2626FIND_TOOL([TAR], [tar])
    2727FIND_TOOL([CHMOD], [chmod])
    28 FIND_TOOL([MD5SUM], [md5sum])
     28AC_CHECK_TOOLS([MD5SUM], [md5sum gmd5sum])
     29if test "x$MD5SUM" = x; then
     30        AC_MSG_ERROR([Can't find md5sum or gmd5sum])
     31fi
     32AC_SUBST([MD5SUM])
    2933FIND_TOOL([WGET], [wget])
    3034FIND_TOOL([ZIP], [zip])
    3135FIND_TOOL([UNZIP], [unzip])
     
    4650AC_CHECK_WITH_HOTSPOT_BUILD
    4751AC_PATH_TOOL([LINUX32],[linux32])
    4852AC_CHECK_GCC_VERSION
     53AC_CHECK_TOOLS([CP], [gcp cp])
     54if test "x$CP" = x; then
     55        AC_MSG_ERROR([Can't find gcp -a or cp -a])
     56fi
     57AC_SUBST([CP])
     58AC_CHECK_TOOLS([SED], [gsed sed])
     59if test "x$SED" = x; then
     60        AC_MSG_ERROR([Can't find gsed or sed])
     61fi
     62AC_SUBST([SED])
    4963
    5064AC_MSG_CHECKING([for a NetBeans installation])
    5165AC_ARG_WITH([netbeans-home],