]> granicus.if.org Git - sudo/commitdiff
typo in --with-editor bits
authorTodd C. Miller <Todd.Miller@courtesan.com>
Tue, 20 Oct 1998 18:00:17 +0000 (18:00 +0000)
committerTodd C. Miller <Todd.Miller@courtesan.com>
Tue, 20 Oct 1998 18:00:17 +0000 (18:00 +0000)
configure.in

index 0a6f917af6b0a27c58494eb6d92b28dcdcea95ff..25c14ca6d19de2d7f63868a7a3f4cfa8f156222f 100644 (file)
@@ -575,7 +575,7 @@ AC_ARG_WITH(exempt, [  --with-exempt=group     no passwd needed for users in thi
 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
@@ -583,7 +583,7 @@ AC_ARG_WITH(editor, [  --with-editor           Default editor for visudo (defaul
     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)])