projects
/
m6w6
/
libmemcached
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
|
github
raw
|
inline
| side by side
Fix for regression during install.
[m6w6/libmemcached]
/
m4
/
pandora_have_libevent.m4
diff --git
a/m4/pandora_have_libevent.m4
b/m4/pandora_have_libevent.m4
index 3c15e3c6d12dada39e6ebf7bd349cdbb7ef89a8c..87e5a89d5eed7abed7b0e4b9240a23846b9ff698 100644
(file)
--- a/
m4/pandora_have_libevent.m4
+++ b/
m4/pandora_have_libevent.m4
@@
-25,6
+25,15
@@
AC_DEFUN([_PANDORA_SEARCH_LIBEVENT],[
])
AM_CONDITIONAL(HAVE_LIBEVENT, [test "x${ac_cv_libevent}" = "xyes"])
])
AM_CONDITIONAL(HAVE_LIBEVENT, [test "x${ac_cv_libevent}" = "xyes"])
+
+ AS_IF([test "x${ac_cv_libevent}" = "xyes"],[
+ save_LIBS="${LIBS}"
+ LIBS="${LIBS} ${LTLIBEVENT}"
+ AC_CHECK_FUNCS(event_base_new)
+ AC_CHECK_FUNCS(event_base_free)
+ AC_CHECK_FUNCS(event_base_get_method)
+ LIBS="$save_LIBS"
+ ])
])
AC_DEFUN([_PANDORA_HAVE_LIBEVENT],[
])
AC_DEFUN([_PANDORA_HAVE_LIBEVENT],[