From: Karel Zak Date: Fri, 22 Mar 2013 11:33:27 +0000 (+0100) Subject: build-sys: keep libuser optional X-Git-Tag: v2.23-rc1~1 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=2771954b530c46e90d42f692949559b9916f61ed;p=thirdparty%2Futil-linux.git build-sys: keep libuser optional Signed-off-by: Karel Zak --- diff --git a/configure.ac b/configure.ac index 1d9fed08c2..283ee53b81 100644 --- a/configure.ac +++ b/configure.ac @@ -1138,7 +1138,7 @@ AC_ARG_WITH([user], AS_HELP_STRING([--without-user], [compile without libuser (r if test "x$with_user" = xno; then AM_CONDITIONAL(HAVE_USER, false) else - PKG_CHECK_MODULES(LIBUSER,[libuser >= 0.58]) + PKG_CHECK_MODULES(LIBUSER,[libuser >= 0.58], [have_user=yes], [have_user=no]) UL_CHECK_LIB(user, lu_start) case "$with_user:$have_user" in yes:no)