From: Maynard J. <may...@us...> - 2012-07-24 19:11:44
|
Oops! [PATCH] Fix previous commit that broke non-ppc64 arch builds The previous commit that added the capability for ppc64 architecture to use either version 3 or version 4 libpfm had a bug in it that caused non-ppc64 builds to break. This patch fixes that problem. This patch has been committed upstream. Signed-off-by: Maynard Johnson <may...@us...> --- configure.in | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/configure.in b/configure.in index 6d6cef2..5d4ca20 100644 --- a/configure.in +++ b/configure.in @@ -110,10 +110,10 @@ if test "$HAVE_PERF_EVENTS" = "1"; then AC_CHECK_LIB(pfm,pfm_get_os_event_encoding, HAVE_LIBPFM3='0'; HAVE_LIBPFM='1', [AC_MSG_ERROR([libpfm not found; usually provided in papi devel package])])]) PFM_LIB="-lpfm" + AC_DEFINE_UNQUOTED(HAVE_LIBPFM3, $HAVE_LIBPFM3, [Define to 1 if using libpfm3; 0 if using newer libpfm]) + AC_DEFINE_UNQUOTED(HAVE_LIBPFM, $HAVE_LIBPFM, [Define to 1 if libpfm is available]) fi AC_SUBST(PFM_LIB) - AC_DEFINE_UNQUOTED(HAVE_LIBPFM3, $HAVE_LIBPFM3, [Define to 1 if using libpfm3; 0 if using newer libpfm]) - AC_DEFINE_UNQUOTED(HAVE_LIBPFM, $HAVE_LIBPFM, [Define to 1 if libpfm is available]) fi AC_ARG_WITH(java, -- 1.7.1 |