From: Owen Synge Date: Thu, 23 Apr 2015 08:14:33 +0000 (+0200) Subject: libexpat is now used for rgw X-Git-Tag: v9.0.1~80^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=refs%2Fpull%2F4446%2Fhead;p=ceph.git libexpat is now used for rgw Check for expat.h check libexpat has method XML_Parse. Signed-off-by: Owen Synge --- diff --git a/configure.ac b/configure.ac index 6c756e122d9f..92f72c0124ce 100644 --- a/configure.ac +++ b/configure.ac @@ -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 #