From 39cd5bbb3306300a24e2f057a570e74aafce0b6b Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Mon, 27 Jul 2009 17:12:27 +1000 Subject: make lib/replace more usable in standalone builds This makes the lib/replace m4 work in lib/talloc as a standalone build --- lib/replace/libreplace.m4 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/replace/libreplace.m4 b/lib/replace/libreplace.m4 index a3a26ef43e..7815901032 100644 --- a/lib/replace/libreplace.m4 +++ b/lib/replace/libreplace.m4 @@ -46,10 +46,10 @@ if test x"$libreplacedir" = "x"; then AC_MSG_ERROR([cannot find libreplace in $libreplacepaths]) fi -LIBREPLACEOBJ="replace.o" +LIBREPLACEOBJ="$libreplacedir/replace.o" AC_SUBST(LIBREPLACEOBJ) -LIBREPLACEOBJ="${LIBREPLACEOBJ} snprintf.o" +LIBREPLACEOBJ="${LIBREPLACEOBJ} $libreplacedir/snprintf.o" AC_TYPE_SIGNAL AC_TYPE_UID_T -- cgit