summaryrefslogtreecommitdiffstats
path: root/configure.ac
diff options
context:
space:
mode:
authorSage Weil <sage@newdream.net>2009-09-25 17:43:03 +0200
committerSage Weil <sage@newdream.net>2009-09-25 17:43:03 +0200
commitdfa34dbffa814a1c6eefc7c7d6a2f43d349392fd (patch)
tree726cc88c2556df51adb1c25baf0870734aff5369 /configure.ac
parentmds: make the directory commit priority be low(er than journal) (diff)
downloadceph-dfa34dbffa814a1c6eefc7c7d6a2f43d349392fd.tar.xz
ceph-dfa34dbffa814a1c6eefc7c7d6a2f43d349392fd.zip
configure: fix libexpat1, libfcgi checks (again)
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac13
1 files changed, 8 insertions, 5 deletions
diff --git a/configure.ac b/configure.ac
index 506e6c3295a..df8dfa4b544 100644
--- a/configure.ac
+++ b/configure.ac
@@ -49,13 +49,16 @@ RADOSGW=1
AS_IF([test "x$with_radosgw" != xno],
[AC_CHECK_LIB([fcgi], [FCGX_Init],
[true],
- [RADOSGW=0])
+ [RADOSGW=0
+ if test "x$with_radosgw" != "xcheck"; then
+ AC_MSG_FAILURE([--with-radosgw was given, but libfcgi (libfcgi-dev on debian) not found])
+ fi])
AC_CHECK_LIB([expat], [XML_Parse],
[true],
- [RADOSGW=0])]
- if test "$RADOSGW" != "1" -a "x$with_radosgw" != "xcheck"; then
- AC_MSG_FAILURE([--with-radosgw was given, but libexpat (libexpat1-dev on debian) not found])
- fi)
+ [RADOSGW=0
+ if test "x$with_radosgw" != "xcheck"; then
+ AC_MSG_FAILURE([--with-radosgw was given, but libexpat (libexpat1-dev on debian) not found])
+ fi])])
AM_CONDITIONAL(WITH_RADOSGW, test "$RADOSGW" = "1")
# fuse?