From 68201cc76b430c1122c0f3c665c9af649ba54311 Mon Sep 17 00:00:00 2001 From: Stefan Metzmacher Date: Tue, 12 Sep 2006 07:05:41 +0000 Subject: r18419: fix include paths of the configure tests metze (This used to be commit 8774eeb0dc8a72a9871d42bf1652ce4f7d4a29b7) --- source4/lib/replace/repdir/config.m4 | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'source4/lib/replace/repdir') diff --git a/source4/lib/replace/repdir/config.m4 b/source4/lib/replace/repdir/config.m4 index b17c92e7d6..b2a20ccee6 100644 --- a/source4/lib/replace/repdir/config.m4 +++ b/source4/lib/replace/repdir/config.m4 @@ -1,5 +1,5 @@ AC_CACHE_CHECK([for broken readdir],samba_cv_HAVE_BROKEN_READDIR,[ - AC_TRY_RUN([#include "${srcdir-.}/build/tests/os2_delete.c"], + AC_TRY_RUN([#include "$libreplacedir/test/os2_delete.c"], [samba_cv_HAVE_BROKEN_READDIR=no], [samba_cv_HAVE_BROKEN_READDIR=yes], [samba_cv_HAVE_BROKEN_READDIR="assuming not"])]) @@ -7,8 +7,8 @@ AC_CACHE_CHECK([for broken readdir],samba_cv_HAVE_BROKEN_READDIR,[ if test x"$samba_cv_HAVE_BROKEN_READDIR" = x"yes"; then AC_CACHE_CHECK([for replacing readdir],samba_cv_REPLACE_READDIR,[ AC_TRY_RUN([ -#include "${srcdir-.}/lib/replace/repdir/repdir.c" -#include "${srcdir-.}/build/tests/os2_delete.c"], +#include "$libreplacedir/repdir/repdir.c" +#include "$libreplacedir/test/os2_delete.c"], samba_cv_REPLACE_READDIR=yes,samba_cv_REPLACE_READDIR=no)]) fi -- cgit