From patchwork Wed Mar 2 19:52:01 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jim Schutt X-Patchwork-Id: 603961 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by demeter1.kernel.org (8.14.4/8.14.3) with ESMTP id p22JqLZg014475 for ; Wed, 2 Mar 2011 19:52:22 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756728Ab1CBTwT (ORCPT ); Wed, 2 Mar 2011 14:52:19 -0500 Received: from sentry-three.sandia.gov ([132.175.109.17]:49168 "EHLO sentry-three.sandia.gov" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756281Ab1CBTwT (ORCPT ); Wed, 2 Mar 2011 14:52:19 -0500 X-WSS-ID: 0LHG4J2-0C-0TO-02 X-M-MSG: Received: from sentry.sandia.gov (mm03snlnto.sandia.gov [132.175.109.20]) by sentry-three.sandia.gov (Postfix) with ESMTP id 1469E52DE62 for ; Wed, 2 Mar 2011 12:52:14 -0700 (MST) Received: from [132.175.109.1] by sentry.sandia.gov with ESMTP (SMTP Relay 01 (Email Firewall v6.3.2)); Wed, 02 Mar 2011 12:52:05 -0700 X-Server-Uuid: AF72F651-81B1-4134-BA8C-A8E1A4E620FF Received: from localhost.localdomain (skynetcore1.sandia.gov [134.253.138.22]) by mailgate.sandia.gov (8.14.4/8.14.4) with ESMTP id p22JppeK026851; Wed, 2 Mar 2011 12:51:51 -0700 From: "Jim Schutt" To: ceph-devel@vger.kernel.org cc: "Jim Schutt" Subject: [PATCH] configure.ac: Fix up --with-profiler test Date: Wed, 2 Mar 2011 12:52:01 -0700 Message-ID: <1299095521-20220-1-git-send-email-jaschut@sandia.gov> X-Mailer: git-send-email 1.6.6 X-PMX-Version: 5.6.0.2009776, Antispam-Engine: 2.7.2.376379, Antispam-Data: 2011.3.2.194218 X-PMX-Spam: Gauge=IIIIIIII, Probability=8%, Report=' BODYTEXTP_SIZE_3000_LESS 0, BODY_SIZE_1300_1399 0, BODY_SIZE_2000_LESS 0, BODY_SIZE_5000_LESS 0, BODY_SIZE_7000_LESS 0, DATE_TZ_NA 0, __CP_URI_IN_BODY 0, __HAS_MSGID 0, __HAS_X_MAILER 0, __MIME_TEXT_ONLY 0, __SANE_MSGID 0, __TO_MALFORMED_2 0, __TO_NO_NAME 0, __URI_NS ' X-TMWD-Spam-Summary: TS=20110302195205; ID=1; SEV=2.3.1; DFV=B2011030221; IFV=NA; AIF=B2011030221; RPD=5.03.0010; ENG=NA; RPDID=7374723D303030312E30413031303230382E34443645394645352E303046302C73733D312C6667733D30; CAT=NONE; CON=NONE; SIG=AAAAAAAAAAAAAAAAAAAAAAAAfQ== X-MMS-Spam-Filter-ID: B2011030221_5.03.0010 MIME-Version: 1.0 X-WSS-ID: 6170406F0YW4381990-01-01 Sender: ceph-devel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: ceph-devel@vger.kernel.org X-Greylist: IP, sender and recipient auto-whitelisted, not delayed by milter-greylist-4.2.6 (demeter1.kernel.org [140.211.167.41]); Wed, 02 Mar 2011 19:52:22 +0000 (UTC) diff --git a/configure.ac b/configure.ac index c76f605..9357a47 100644 --- a/configure.ac +++ b/configure.ac @@ -37,9 +37,9 @@ PKG_CHECK_MODULES([CRYPTOPP], [libcrypto++], [], [ # profiler? AC_ARG_WITH([profiler], [AS_HELP_STRING([--with-profiler], [build extra profiler binaries])], - [with_profiler=yes], + [], [with_profiler=no]) -AS_IF([test "x$with_profiler" != xyes], +AS_IF([test "x$with_profiler" != xno], [AC_CHECK_LIB([profiler], [ProfilerFlush], [], [AC_MSG_FAILURE([--with-profiler was given but libprofiler (libgoogle-perftools-dev on debian) not found])])], [])