correct error messages for --with-sudoers-{mode,uid,gid}

This commit is contained in:
Todd C. Miller
2003-03-15 20:16:58 +00:00
parent bb2c3323d9
commit bc400ffbfa

View File

@@ -667,7 +667,7 @@ AC_ARG_WITH(sudoers-mode, [ --with-sudoers-mode mode of sudoers file (defau
;; ;;
0*) SUDOERS_MODE=$with_sudoers_mode 0*) SUDOERS_MODE=$with_sudoers_mode
;; ;;
*) AC_MSG_ERROR(["you must use a numeric uid, not a name."]) *) AC_MSG_ERROR(["you must use an octal mode, not a name."])
;; ;;
esac]) esac])
@@ -679,7 +679,7 @@ AC_ARG_WITH(sudoers-uid, [ --with-sudoers-uid uid that owns sudoers file (
;; ;;
[[0-9]]*) SUDOERS_UID=$with_sudoers_uid [[0-9]]*) SUDOERS_UID=$with_sudoers_uid
;; ;;
*) AC_MSG_ERROR(["you must use a numeric uid, not a name."]) *) AC_MSG_ERROR(["you must use an unsigned numeric uid, not a name."])
;; ;;
esac]) esac])
@@ -691,7 +691,7 @@ AC_ARG_WITH(sudoers-gid, [ --with-sudoers-gid gid that owns sudoers file (
;; ;;
[[0-9]]*) SUDOERS_GID=$with_sudoers_gid [[0-9]]*) SUDOERS_GID=$with_sudoers_gid
;; ;;
*) AC_MSG_ERROR(["you must use a numeric gid, not a name."]) *) AC_MSG_ERROR(["you must use an unsigned numeric gid, not a name."])
;; ;;
esac]) esac])