mirror of
git://git.sv.gnu.org/autoconf
synced 2025-02-23 14:09:51 +08:00
* acfunctions.m4 (AC_FUNC_MMAP): Remove conftestmmap from the
shell, not from the test program.
This commit is contained in:
parent
69a9124176
commit
599b982dbd
@ -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
|
||||
|
@ -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
|
||||
|
||||
|
||||
|
@ -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
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user