make lib/replace more usable in standalone builds
authorAndrew Tridgell <tridge@samba.org>
Mon, 27 Jul 2009 07:12:27 +0000 (17:12 +1000)
committerAndrew Tridgell <tridge@samba.org>
Mon, 24 Aug 2009 06:30:00 +0000 (16:30 +1000)
This makes the lib/replace m4 work in lib/talloc as a standalone build

lib/replace/libreplace.m4

index a3a26ef43e48280ef4075b147649632bf7891e41..78159010327e68fb2c2d2cd95254237b23466965 100644 (file)
@@ -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