esac])
AC_MSG_CHECKING(for editor that visudo should use)
-AC_ARG_WITH(editor, [ --with-editor Default editor for visudo (defaults to vi)],
+AC_ARG_WITH(editor, [ --with-editor=path Default editor for visudo (defaults to vi)],
[case $with_editor in
yes) echo "Must give --with-editor an argument."
exit 1
no) echo "Sorry, --without-editor not supported."
exit 1
;;
- *) AC_DEFINE_UNQUOTED(TRIES_FOR_PASSWORD, $with_editor)
+ *) AC_DEFINE_UNQUOTED(EDITOR, $with_editor)
AC_MSG_RESULT([$with_editor])
;;
esac], [AC_DEFINE(EDITOR, _PATH_VI) AC_MSG_RESULT(vi)])