diff options
author | James Peach <jpeach@samba.org> | 2007-04-20 21:31:04 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 12:19:34 -0500 |
commit | e5dd3bbf29f206090d64134eb808e5f627317804 (patch) | |
tree | f9a1facbac06ac8fc03d8f18b174469abe51c5d1 /source/configure.in | |
parent | fc8589a3371d396197fae508e563f814899c2beb (diff) | |
download | samba-e5dd3bbf29f206090d64134eb808e5f627317804.tar.gz samba-e5dd3bbf29f206090d64134eb808e5f627317804.tar.xz samba-e5dd3bbf29f206090d64134eb808e5f627317804.zip |
r22419: Update configure so that we only need one copy of os2_delete.c
Diffstat (limited to 'source/configure.in')
-rw-r--r-- | source/configure.in | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/source/configure.in b/source/configure.in index b4673889471..bc5d5184a43 100644 --- a/source/configure.in +++ b/source/configure.in @@ -2813,7 +2813,12 @@ if test x"$samba_cv_HAVE_SECURE_MKSTEMP" = x"yes"; then fi AC_CACHE_CHECK([for broken readdir],samba_cv_HAVE_BROKEN_READDIR,[ - AC_TRY_RUN([#include "${srcdir-.}/tests/os2_delete.c"], + AC_TRY_RUN([ +#include "${srcdir-.}/lib/replace/test/os2_delete.c" +int main(void) { + return test_readdir_os2_delete(); +} +], [samba_cv_HAVE_BROKEN_READDIR=no], [samba_cv_HAVE_BROKEN_READDIR=yes], [samba_cv_HAVE_BROKEN_READDIR="assuming not"])]) @@ -2822,7 +2827,10 @@ 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/repdir.c" -#include "${srcdir-.}/tests/os2_delete.c"], +#include "${srcdir-.}/lib/replace/test/os2_delete.c" +int main(void) { + return test_readdir_os2_delete(); +], samba_cv_REPLACE_READDIR=yes,samba_cv_REPLACE_READDIR=no)]) fi |