Make ax_lib_event.m4 set a per-version variable on success
authorDavid Reiss <dreiss@apache.org>
Wed, 29 Jul 2009 19:07:33 +0000 (19:07 +0000)
committerDavid Reiss <dreiss@apache.org>
Wed, 29 Jul 2009 19:07:33 +0000 (19:07 +0000)
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

aclocal/ax_lib_event.m4

index 08043b4..56aefcc 100644 (file)
@@ -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"