From 2b2c5d18e10b40b0e983547290147b4d05ea5b9c Mon Sep 17 00:00:00 2001 From: Owen Synge Date: Thu, 23 Apr 2015 10:14:33 +0200 Subject: [PATCH] libexpat is now used for rgw Check for expat.h check libexpat has method XML_Parse. Signed-off-by: Owen Synge --- configure.ac | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/configure.ac b/configure.ac index 6c756e122d9f8..92f72c0124ce1 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 # -- 2.39.5