]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
configure: don't link blkid, udev to everything
authorSage Weil <sage@redhat.com>
Sat, 19 Jul 2014 05:56:05 +0000 (22:56 -0700)
committerSage Weil <sage@redhat.com>
Sun, 27 Jul 2014 18:25:47 +0000 (11:25 -0700)
These are already explicitly called out for libkrbd; don't need them in
LIBS.

Signed-off-by: Sage Weil <sage@redhat.com>
configure.ac

index 5f87cbefc8536ac663739d296f2c32545142d114..7a81d82ceb7911367b9824656029bbb3dffb30d8 100644 (file)
@@ -139,13 +139,13 @@ if test x"$linux" = x"yes"; then
   # libblkid
   AC_CHECK_HEADER([blkid/blkid.h], [],
     AC_MSG_ERROR([blkid/blkid.h not found (libblkid-dev, libblkid-devel)]))
-  AC_CHECK_LIB([blkid], [blkid_devno_to_wholedisk], [],
+  AC_CHECK_LIB([blkid], [blkid_devno_to_wholedisk], [true],
     AC_MSG_FAILURE([libblkid not found]))
 
   # libudev
   AC_CHECK_HEADER([libudev.h], [],
     AC_MSG_ERROR([libudev.h not found (libudev-dev, libudev-devel)]))
-  AC_CHECK_LIB([udev], [udev_monitor_receive_device], [],
+  AC_CHECK_LIB([udev], [udev_monitor_receive_device], [true],
     AC_MSG_FAILURE([libudev not found]))
 fi