summaryrefslogtreecommitdiff
path: root/aclocal
diff options
context:
space:
mode:
authorDavid Reiss <dreiss@apache.org>2009-07-29 19:07:33 +0000
committerDavid Reiss <dreiss@apache.org>2009-07-29 19:07:33 +0000
commitad557420b980c0c5a82ffce13e82cb4b0edde051 (patch)
treebca54e8013ae5da66861f01d15fe7863257a019a /aclocal
parente657eb43117437b8a2b2036982ec3d4cd953b437 (diff)
downloadthrift-ad557420b980c0c5a82ffce13e82cb4b0edde051.tar.gz
Make ax_lib_event.m4 set a per-version variable on success
This makes it a little bit easier to check for several versions of libevent and see which succeeded. git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@799017 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'aclocal')
-rw-r--r--aclocal/ax_lib_event.m41
1 files changed, 1 insertions, 0 deletions
diff --git a/aclocal/ax_lib_event.m4 b/aclocal/ax_lib_event.m4
index 08043b4c6..56aefcc85 100644
--- a/aclocal/ax_lib_event.m4
+++ b/aclocal/ax_lib_event.m4
@@ -181,6 +181,7 @@ AC_DEFUN([AX_LIB_EVENT],
else
AC_MSG_RESULT(yes)
AC_DEFINE(HAVE_LIBEVENT,,[define if libevent is available])
+ ax_have_libevent_[]m4_translit([$1], [.], [_])="yes"
fi
ax_have_libevent="$success"