diff mbox

configure.ac: Fix up --with-profiler test

Message ID 1299095521-20220-1-git-send-email-jaschut@sandia.gov (mailing list archive)
State New, archived
Headers show

Commit Message

Jim Schutt March 2, 2011, 7:52 p.m. UTC
None
diff mbox

Patch

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])])],
 	    [])