configure: Only warn if user/group do not exist.

Otherwise packaging is like hell.
This commit is contained in:
Michael Friedrich 2013-10-10 14:01:11 +02:00
parent 74f06be654
commit cd067d5d2d
1 changed files with 2 additions and 2 deletions

View File

@ -23,7 +23,7 @@ AC_DEFUN([ACICINGA_CHECK_USER],[
AC_MSG_CHECKING([if $y user $x exists])
AS_IF([ getent passwd $x >/dev/null 2>&1 || dscl . -read /Users/$x >/dev/null 2>&1 ],
[ AC_MSG_RESULT([found]) ],
[ AC_MSG_ERROR([not found]) ])
[ AC_MSG_WARN([not found]) ])
])
AC_DEFUN([ACICINGA_CHECK_GROUP],[
@ -32,5 +32,5 @@ AC_DEFUN([ACICINGA_CHECK_GROUP],[
AC_MSG_CHECKING([if $y group $x exists])
AS_IF([ getent group $x >/dev/null 2>&1 || dscl . -read /Groups/$x >/dev/null 2>&1 ],
[ AC_MSG_RESULT([found]) ],
[ AC_MSG_ERROR([not found]) ])
[ AC_MSG_WARN([not found]) ])
])