From 309ef9069096ce09483e2f9a18f191fc53e1c7f4 Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Wed, 23 Aug 2006 04:53:47 +0000 Subject: r17738: solving the seemingly trivial problem of timegm() being missing on some systems requires quite a large change in ldb. The core problem is that ldb doesn't have its own equivalent of lib/replace/, so we have no sane place to put things like timegm.c This patch moves part of lib/replace/ from Samba4 into ldb, and the next patch will remove those parts from Samba4. We will probably need to similarly move parts of lib/replace/ into lib/talloc/ and lib/tdb/, so that at each level the libraries have replacements for the functions they need, but higher level libraries don't need to re-include replacements if a lower level library already replaces the function (This used to be commit c2f6c217fb4a5c84499246480f00df40b0711074) --- source4/lib/ldb/popt.m4 | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'source4/lib/ldb/popt.m4') diff --git a/source4/lib/ldb/popt.m4 b/source4/lib/ldb/popt.m4 index 7c7969fa9d..558bfc73b1 100644 --- a/source4/lib/ldb/popt.m4 +++ b/source4/lib/ldb/popt.m4 @@ -19,11 +19,10 @@ if test x"$POPTDIR" = x; then AC_CHECK_HEADERS(popt.h) AC_CHECK_LIB(popt, poptGetContext) else - POPTOBJ="findme.o popt.o poptconfig.o popthelp.o poptparse.o" + EXTRA_OBJ="$EXTRA_OBJ findme.o popt.o poptconfig.o popthelp.o poptparse.o" CFLAGS="$CFLAGS -I$POPTDIR" fi AC_CHECK_HEADERS([float.h alloca.h]) AC_CHECK_FUNCS(strerror) -AC_SUBST(POPTOBJ) AC_SUBST(POPTDIR) -- cgit