You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# Check all tools used by make install
AS_IF([test "$HOSTOS" = "Linux" && test "x$systemd_sysusers" != "xyes"],
[ AC_CHECK_PROG(useradd, useradd, yes)
AC_CHECK_PROG(groupadd, groupadd, yes)
AC_CHECK_PROG(adduser, adduser, yes)
AC_CHECK_PROG(addgroup, addgroup, yes)
AS_IF([test "x$addgroup" != "xyes" && test "x$groupadd" != "xyes" ],
[AC_MSG_ERROR([addgroup or groupadd are needed.])])
AS_IF([test "x$adduser" != "xyes" && test "x$useradd" != "xyes" ],
[AC_MSG_ERROR([adduser or useradd are needed.])])])
This condition is impossible to satisfy on macos as none of these group managament commands are available. Additionally, this isn't needed for vendoring/bundled of the library such as in a development workflow.
I would propose a --disable-useradd feature which allows this check to be skipped when not required.
The text was updated successfully, but these errors were encountered:
I would propose a --disable-useradd feature which allows this check to be skipped when not required.
These programs are already optional (i.e. Makefile considers errors non-fatal) and I think that configure.ac should be using AC_MSG_WARN instead of AC_MSG_ERROR.
configure.ac contains the following test
This condition is impossible to satisfy on macos as none of these group managament commands are available. Additionally, this isn't needed for vendoring/bundled of the library such as in a development workflow.
I would propose a --disable-useradd feature which allows this check to be skipped when not required.
The text was updated successfully, but these errors were encountered: