]> git.ipfire.org Git - thirdparty/autoconf.git/commitdiff
* acfunctions.m4 (AC_FUNC_MMAP): Remove conftestmmap from the
authorPavel Roskin <proski@gnu.org>
Fri, 27 Oct 2000 23:10:18 +0000 (23:10 +0000)
committerPavel Roskin <proski@gnu.org>
Fri, 27 Oct 2000 23:10:18 +0000 (23:10 +0000)
        shell, not from the test program.

ChangeLog
acfunctions.m4
lib/autoconf/functions.m4

index 720bd51e367e052b66fce747c846ba81fe38cf6a..cfc7e31740aa01c6990c84946bfe823408f3c486 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -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
index f7351ddabf90a44c7e0ad3b7ed7fefa992ad3c43..546675d066ad9bd4a39f298114ee7a945d30d76d 100644 (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
 
 
index f7351ddabf90a44c7e0ad3b7ed7fefa992ad3c43..546675d066ad9bd4a39f298114ee7a945d30d76d 100644 (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