From: Michael Friedrich Date: Thu, 10 Oct 2013 12:01:11 +0000 (+0200) Subject: configure: Only warn if user/group do not exist. X-Git-Tag: v0.0.3~200 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=cd067d5d2dc04d222e8f60dcb7cab06d57577c69;p=icinga2 configure: Only warn if user/group do not exist. Otherwise packaging is like hell. --- diff --git a/m4/ax_icinga_user_group.m4 b/m4/ax_icinga_user_group.m4 index 5cc622d40..b05ed0bc7 100644 --- a/m4/ax_icinga_user_group.m4 +++ b/m4/ax_icinga_user_group.m4 @@ -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]) ]) ])