ldb: Check for talloc using pkg-config before checking manually, so we
[Samba/kamenim.git] / source4 / lib / ldb / external / libtalloc.m4
blob8c63fcc0416964bfb6c6bf987e5d4406b109ce3d
1 AC_SUBST(TALLOC_OBJ)
2 AC_SUBST(TALLOC_CFLAGS)
3 AC_SUBST(TALLOC_LIBS)
5 PKG_CHECK_MODULES(TALLOC, talloc >= 2.0.0,
6         [ ],
7         [ AC_CHECK_HEADER(talloc.h, 
8                 [ AC_CHECK_LIB(talloc, talloc_init, [TALLOC_LIBS="-ltalloc"])])])