-checkuid=yes
-AC_ARG_ENABLE([checkuid],
- AC_HELP_STRING([--enable-checkuid],
- [Do not accept UIDs that are not listed in /etc/passwd (default is ENABLED)]),
- [
- if test "$enableval" = "no"; then
- checkuid=no
- AC_DEFINE(OPT_NO_PASSWD, 1,
- [Define if you want to proceed even if UID of the script is not listed in /etc/passwd])
- fi
- ])
-
-checkgid=yes
-AC_ARG_ENABLE([checkgid],
- AC_HELP_STRING([--enable-checkgid],
- [Do not accept GIDs that are not listed in /etc/group (default is ENABLED)]),
- [
- if test "$enableval" = "no"; then
- checkgid=no
- AC_DEFINE(OPT_NO_GROUP, 1,
- [Define if you want to proceed even if GID of the script is not listed in /etc/group])
- fi
- ])