;;
*)
AC_MSG_CHECKING(editor)
if test -x "$withval"; then
AC_DEFINE_UNQUOTED(EDITOR, "$withval")
AC_MSG_RESULT($withval)
else
AC_MSG_ERROR([
File $withval is not an executable file])
fi
esac ], [
AC_PATH_PROG(EDITOR, vi)
if test -d "$withval"; then
etcdir="$withval"
Directory $withval does not exist])
esac ],
if test -d "/etc"; then
[ --with-debug=CFLAGS Use default debug flags or CFLAGS if given to compile fcron in debug mode.],
[ case "$withval" in
no)
cflags="-O2 -Wall"
cflags="-Wall"
debug="0"
yes)
debug="1"
cflags=""
)
DEBUG=$debug