make lib/replace more usable in standalone builds
[ira/wip.git] / 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