]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
libexpat is now used for rgw 4446/head
authorOwen Synge <osynge@suse.com>
Thu, 23 Apr 2015 08:14:33 +0000 (10:14 +0200)
committerOwen Synge <osynge@suse.com>
Thu, 23 Apr 2015 08:14:33 +0000 (10:14 +0200)
Check for expat.h
check libexpat has method XML_Parse.

Signed-off-by: Owen Synge <osynge@suse.com>
configure.ac

index 6c756e122d9f885aadf55c1aeb0fbf52e4438b2e..92f72c0124ce1db827e195a7aff0cf6dc7940bf5 100644 (file)
@@ -275,6 +275,12 @@ if test x"$linux" = x"yes" -a x"$with_rbd" = x"yes"; then
     AC_MSG_ERROR([libudev.h not found (libudev-dev, libudev-devel)]))
   AC_CHECK_LIB([udev], [udev_monitor_receive_device], [true],
     AC_MSG_FAILURE([libudev not found]))
+
+  # libexpat
+  AC_CHECK_HEADER([expat.h], [],
+    AC_MSG_ERROR([expat.h not found (libexpat-devel)]))
+  AC_CHECK_LIB([expat], [XML_Parse], [true],
+    AC_MSG_FAILURE([libexpat not found]))
 fi
 
 #