Test for existence of patch program. Contributed by James Dines <jdines@mediaone.net>. Issue #377

This commit is contained in:
oisin 2001-02-14 10:40:44 +00:00
parent 04ca3da93c
commit fbcb9c2726

View file

@ -865,6 +865,13 @@ if test -z "$FLEX"; then
AC_MSG_WARN([no flex found in \$PATH, install flex]) >> warn AC_MSG_WARN([no flex found in \$PATH, install flex]) >> warn
fi fi
dnl *************************************** dnl ***************************************
dnl testing that patch exists
dnl ***************************************
AC_PATH_PROG(PATCH, patch)
if test -z "$PATCH"; then
AC_MSG_WARN([\"patch\" not found in \$PATH, install the development tool named\"patch"\]) >> warn
fi
dnl ***************************************
dnl testing bash tools path on Windows dnl testing bash tools path on Windows
dnl *************************************** dnl ***************************************
if test "$_os" = "WINNT"; then if test "$_os" = "WINNT"; then
@ -999,3 +1006,5 @@ else
echo echo
fi fi
AC_OUTPUT() AC_OUTPUT()