]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
configure: don't link expat, fcgi to everything
authorSage Weil <sage@newdream.net>
Wed, 16 Sep 2009 17:34:04 +0000 (10:34 -0700)
committerSage Weil <sage@newdream.net>
Wed, 16 Sep 2009 17:34:04 +0000 (10:34 -0700)
The default AC_CHECK_LIB action is to add -lfoo to the linker args,
which we don't want!

configure.ac

index 1f0aca905768652da7801ce83a4c83b675ae9f74..f22e90eeee2bcf771af3bcaa4d96f4a66a3736c9 100644 (file)
@@ -48,10 +48,10 @@ AC_ARG_WITH([radosgw],
 RADOSGW=1
 AS_IF([test "x$with_radosgw" != xno],
            [AC_CHECK_LIB([fcgi], [FCGX_Init],
-             [],
+             [true],
             [RADOSGW=0])
             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])