summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2009-07-27 17:12:27 +1000
committerAndrew Tridgell <tridge@samba.org>2009-08-24 16:30:00 +1000
commit39cd5bbb3306300a24e2f057a570e74aafce0b6b (patch)
tree67bbc9a6f30c24304ab313c78d50260a2201fb35
parenta5358402b26e08b9f69c5c766e5cb7438c695dbf (diff)
downloadsamba-39cd5bbb3306300a24e2f057a570e74aafce0b6b.tar.gz
samba-39cd5bbb3306300a24e2f057a570e74aafce0b6b.tar.bz2
samba-39cd5bbb3306300a24e2f057a570e74aafce0b6b.zip
make lib/replace more usable in standalone builds
This makes the lib/replace m4 work in lib/talloc as a standalone build
-rw-r--r--lib/replace/libreplace.m44
1 files 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