From: Ken Dreyer Date: Mon, 5 Jan 2015 19:11:00 +0000 (-0700) Subject: configure: show pkg names when libkeyutils is missing X-Git-Tag: v0.92~71^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=refs%2Fpull%2F3293%2Fhead;p=ceph.git configure: show pkg names when libkeyutils is missing Prior to this commit, when ./configure can't find libkeyutils, it would bail out with a terse error message. Some of the other library checks helpfully print the DEB and RPM package names in parentheses. Add the DEB and RPM package names to the libkeyutils check. Reported-by: Pankaj Garg Signed-off-by: Ken Dreyer --- diff --git a/configure.ac b/configure.ac index d0576e8c1148..7c943fd42435 100644 --- a/configure.ac +++ b/configure.ac @@ -208,7 +208,7 @@ dnl check for libkeyutils on linux KEYUTILS_LIB="" AS_IF([test x"$linux" = x"yes"], [ AC_CHECK_LIB([keyutils], [add_key], [KEYUTILS_LIB="-lkeyutils"], [ - AC_MSG_FAILURE([libkeyutils not found])])]) + AC_MSG_FAILURE([libkeyutils not found (libkeyutils-dev, keyutils-libs-devel)])])]) AC_SUBST(KEYUTILS_LIB) AC_CHECK_LIB([m], [pow], [true], AC_MSG_FAILURE([libm not found]))