Update m4 files from ddm4, and fix clang warning.
[awesomized/libmemcached] / m4 / ax_dlopen.m4
1 #serial 2
2
3 AC_DEFUN([AX_DLOPEN],
4 [AS_IF([test "x$enable_shared" = xyes],
5 [AX_CHECK_LIBRARY([DL],[dlfcn.h],[dl],
6 [AC_DEFINE([HAVE_LIBDL],[1],[Have dlopen])
7 AC_CHECK_LIB([dl],[dlopen],[AC_DEFINE([HAVE_DLOPEN],[1],[Have dlopen])])
8 AC_CHECK_LIB([dl],[dladdr],[AC_DEFINE([HAVE_DLADDR],[1],[Have dladdr])])])])
9 ])
10