Lines 1644-1659
dnl Search for a pre-installed dmake
Link Here
|
1644 |
dnl =================================================================== |
1644 |
dnl =================================================================== |
1645 |
AC_MSG_CHECKING([for dmake]) |
1645 |
AC_MSG_CHECKING([for dmake]) |
1646 |
AC_PATH_PROG(DMAKE, dmake, no) |
1646 |
AC_PATH_PROG(DMAKE, dmake, no) |
|
|
1647 |
IS_SYSTEM_DMAKE=NO |
1647 |
if test "$DMAKE" != "no"; then |
1648 |
if test "$DMAKE" != "no"; then |
1648 |
AC_MSG_RESULT([using system dmake]) |
1649 |
AC_MSG_RESULT([using system dmake]) |
1649 |
else |
1650 |
DMAKE_PATH="$DMAKE" |
|
|
1651 |
IS_SYSTEM_DMAKE=YES |
1652 |
elif test -n "$with_dmake_path" ; then |
1650 |
# Did not find pre-installed dmake. |
1653 |
# Did not find pre-installed dmake. |
1651 |
# Is it at a nonstandard location provided by --with-dmake-path ? |
1654 |
# Is it at a nonstandard location provided by --with-dmake-path ? |
1652 |
if test -n "$with_dmake_path" ; then |
1655 |
AC_MSG_NOTICE([looking for dmake at $DMAKE_PATH]) |
1653 |
AC_PATH_PROG(DMAKE, dmake, no, "$with_dmake_path") |
1656 |
if test -x "$with_dmake_path" ; then |
1654 |
if test "$DMAKE" != "no"; then |
1657 |
AC_MSG_RESULT([using user provided dmake]) |
1655 |
AC_MSG_RESULT([using user provided dmake]) |
1658 |
DMAKE=$with_dmake_path |
1656 |
fi |
|
|
1657 |
fi |
1659 |
fi |
1658 |
fi |
1660 |
fi |
1659 |
|
1661 |
|
Lines 1668-1676
if test "$DMAKE" = "no"; then
Link Here
|
1668 |
AC_MSG_RESULT([dmake will be downloaded and compiled in bootstrap]) |
1670 |
AC_MSG_RESULT([dmake will be downloaded and compiled in bootstrap]) |
1669 |
DMAKE= |
1671 |
DMAKE= |
1670 |
else |
1672 |
else |
1671 |
AC_MSG_WARN([no URL for dmake source code specified, either.]) |
1673 |
AC_MSG_ERROR([no URL for dmake source code specified, either.]) |
1672 |
BUILD_DMAKE=YES |
1674 |
BUILD_DMAKE=YES |
1673 |
AC_MSG_WARN([dmake will be built from internal sources but these will be removed in the future"]) |
|
|
1674 |
fi |
1675 |
fi |
1675 |
else |
1676 |
else |
1676 |
AC_MSG_CHECKING([whether the found dmake is the right dmake]) |
1677 |
AC_MSG_CHECKING([whether the found dmake is the right dmake]) |
Lines 1703-1709
if test "$DMAKE" = "no"; then
Link Here
|
1703 |
AC_MSG_ERROR([please use --with-dmake-path or --with-dmake-url to specify dmake executable or source]) |
1704 |
AC_MSG_ERROR([please use --with-dmake-path or --with-dmake-url to specify dmake executable or source]) |
1704 |
fi |
1705 |
fi |
1705 |
AC_SUBST(DMAKE_URL) |
1706 |
AC_SUBST(DMAKE_URL) |
1706 |
AC_SUBST(DMAKE) |
1707 |
AC_SUBST(DMAKE_PATH) |
|
|
1708 |
AC_SUBST(IS_SYSTEM_DMAKE) |
1707 |
|
1709 |
|
1708 |
|
1710 |
|
1709 |
dnl =================================================================== |
1711 |
dnl =================================================================== |