Looks like a valid solution, but I would extend it to print some Message about the error:
AC_CHECK_PROG(ED_PROG,"ed",AC_MSG_ERROR(Cannot find the ed command. Please install it. Usually the package is also called ed.))
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Do you have a particular patch in mind?
Should I use AC_CHECK_PROG(ED_PROG,"ed") ?
Looks like a valid solution, but I would extend it to print some Message about the error:
AC_CHECK_PROG(ED_PROG,"ed",AC_MSG_ERROR(Cannot find the ed command. Please install it. Usually the package is also called ed.))