* acfunctions.m4 (AC_FUNC_MMAP): Remove conftestmmap from the

shell, not from the test program.
This commit is contained in:
Pavel Roskin 2000-10-27 23:10:18 +00:00
parent 69a9124176
commit 599b982dbd
3 changed files with 7 additions and 2 deletions

View File

@ -1,3 +1,8 @@
2000-10-27 Pavel Roskin <proski@gnu.org>
* acfunctions.m4 (AC_FUNC_MMAP): Remove conftestmmap from the
shell, not from the test program.
2000-10-27 Pavel Roskin <proski@gnu.org>
* doc/autoconf.texi (Limitations of Builtins): Recommend using

View File

@ -1060,7 +1060,6 @@ main ()
if (*(data + i) != *(data3 + i))
exit (1);
close (fd);
unlink ("conftestmmap");
exit (0);
}], ac_cv_func_mmap_fixed_mapped=yes, ac_cv_func_mmap_fixed_mapped=no,
ac_cv_func_mmap_fixed_mapped=no)])
@ -1068,6 +1067,7 @@ if test $ac_cv_func_mmap_fixed_mapped = yes; then
AC_DEFINE(HAVE_MMAP, 1,
[Define if you have a working `mmap' system call.])
fi
rm -f conftestmmap
])# AC_FUNC_MMAP

View File

@ -1060,7 +1060,6 @@ main ()
if (*(data + i) != *(data3 + i))
exit (1);
close (fd);
unlink ("conftestmmap");
exit (0);
}], ac_cv_func_mmap_fixed_mapped=yes, ac_cv_func_mmap_fixed_mapped=no,
ac_cv_func_mmap_fixed_mapped=no)])
@ -1068,6 +1067,7 @@ if test $ac_cv_func_mmap_fixed_mapped = yes; then
AC_DEFINE(HAVE_MMAP, 1,
[Define if you have a working `mmap' system call.])
fi
rm -f conftestmmap
])# AC_FUNC_MMAP