From 599b982dbd8e9821d9f7b106852d486448988687 Mon Sep 17 00:00:00 2001 From: Pavel Roskin Date: Fri, 27 Oct 2000 23:10:18 +0000 Subject: [PATCH] * acfunctions.m4 (AC_FUNC_MMAP): Remove conftestmmap from the shell, not from the test program. --- ChangeLog | 5 +++++ acfunctions.m4 | 2 +- lib/autoconf/functions.m4 | 2 +- 3 files changed, 7 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index 720bd51e..cfc7e317 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2000-10-27 Pavel Roskin + + * acfunctions.m4 (AC_FUNC_MMAP): Remove conftestmmap from the + shell, not from the test program. + 2000-10-27 Pavel Roskin * doc/autoconf.texi (Limitations of Builtins): Recommend using diff --git a/acfunctions.m4 b/acfunctions.m4 index f7351dda..546675d0 100644 --- a/acfunctions.m4 +++ b/acfunctions.m4 @@ -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 diff --git a/lib/autoconf/functions.m4 b/lib/autoconf/functions.m4 index f7351dda..546675d0 100644 --- a/lib/autoconf/functions.m4 +++ b/lib/autoconf/functions.m4 @@ -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