summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--source3/m4/aclocal.m48
1 files changed, 4 insertions, 4 deletions
diff --git a/source3/m4/aclocal.m4 b/source3/m4/aclocal.m4
index 3b120e2564..29033b7966 100644
--- a/source3/m4/aclocal.m4
+++ b/source3/m4/aclocal.m4
@@ -694,13 +694,13 @@ AC_DEFUN([SMB_CHECK_DMAPI],
fi
if test x"$samba_dmapi_libs" = x"" ; then
- AC_CHECK_LIB(xdsm, dm_get_eventlist,
- [samba_dmapi_libs="-lxdsm"], [])
+ AC_CHECK_LIB(dmapi, dm_get_eventlist,
+ [samba_dmapi_libs="-ldmapi"], [])
fi
if test x"$samba_dmapi_libs" = x"" ; then
- AC_CHECK_LIB(dmapi, dm_get_eventlist,
- [samba_dmapi_libs="-ldmapi"], [])
+ AC_CHECK_LIB(xdsm, dm_get_eventlist,
+ [samba_dmapi_libs="-lxdsm"], [])
fi