]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
configure: show pkg names when libkeyutils is missing 3293/head
authorKen Dreyer <kdreyer@redhat.com>
Mon, 5 Jan 2015 19:11:00 +0000 (12:11 -0700)
committerKen Dreyer <kdreyer@redhat.com>
Mon, 5 Jan 2015 19:19:40 +0000 (12:19 -0700)
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 <Pankaj.Garg@caviumnetworks.com>
Signed-off-by: Ken Dreyer <kdreyer@redhat.com>
configure.ac

index d0576e8c114846c933e3bda54e9c6470c40795c8..7c943fd42435a2f3b023a940a805bbd18b844bd6 100644 (file)
@@ -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]))