From: Sage Weil Date: Wed, 16 Sep 2009 17:34:04 +0000 (-0700) Subject: configure: don't link expat, fcgi to everything X-Git-Tag: v0.15~61 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=71c1f4f41cdb756e86fa45bd5a795d51f603fec0;p=ceph.git configure: don't link expat, fcgi to everything The default AC_CHECK_LIB action is to add -lfoo to the linker args, which we don't want! --- diff --git a/configure.ac b/configure.ac index 1f0aca905768..f22e90eeee2b 100644 --- a/configure.ac +++ b/configure.ac @@ -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])