]> xenbits.xensource.com Git - libvirt.git/commitdiff
configure: rbd doesn't need -lcrypto
authorCole Robinson <crobinso@redhat.com>
Sun, 15 Jul 2012 17:18:44 +0000 (13:18 -0400)
committerCole Robinson <crobinso@redhat.com>
Tue, 17 Jul 2012 13:49:53 +0000 (09:49 -0400)
See https://www.redhat.com/archives/libvir-list/2012-July/msg00493.html

Basically building against librbd doesn't seem to actually require -lcrypto.

Also report the rbd linker flags in configure output

configure.ac

index d45f4f10d0a59fe4da5625e6b9efdeb3aa7ffd8e..ae814cb8669512127e78da71824c95540f45eb0e 100644 (file)
@@ -1999,7 +1999,7 @@ if test "$with_storage_rbd" = "yes" || test "$with_storage_rbd" = "check"; then
 
     if test "$LIBRBD_FOUND" = "yes"; then
         with_storage_rbd=yes
-        LIBRBD_LIBS="-lrbd -lrados -lcrypto"
+        LIBRBD_LIBS="-lrbd -lrados"
         AC_DEFINE_UNQUOTED([WITH_STORAGE_RBD], [1],
          [whether RBD backend for storage driver is enabled])
     else
@@ -2962,6 +2962,12 @@ AC_MSG_NOTICE([     xdr: $XDR_CFLAGS])
 else
 AC_MSG_NOTICE([     xdr: no])
 fi
+if test "$with_storage_rbd" = "yes" ; then
+AC_MSG_NOTICE([     rbd: $LIBRBD_LIBS])
+else
+AC_MSG_NOTICE([     rbd: no])
+fi
+
 AC_MSG_NOTICE([])
 AC_MSG_NOTICE([Test suite])
 AC_MSG_NOTICE([])