]> git.ipfire.org Git - thirdparty/autoconf.git/commit
Port AC_FUNC_MMAP to more-modern systems
authorPaul Eggert <eggert@cs.ucla.edu>
Thu, 11 May 2023 00:20:49 +0000 (17:20 -0700)
committerPaul Eggert <eggert@cs.ucla.edu>
Thu, 11 May 2023 00:23:11 +0000 (17:23 -0700)
commit028526149ee804617a302ccef22cc6adbda681b0
tree6dc5aab4c0185ad6a94a568a2ef4e5841948da77
parent9c0183724614517a67d0955065171465bab7154a
Port AC_FUNC_MMAP to more-modern systems

* lib/autoconf/functions.m4 (AC_FUNC_MMAP): Don’t call
getpagesize, as it’s tricky to configure, modern POSIX doesn’t
require it, and calling it without including <unistd.h> provokes a
compile-time error on modern systems.  Instead, rework the test
to not need getpagesize.  Add a FIXME comment for unnecessary
tests; I don't want to remove them now as we're too close to
a release.  Remove long-obsolete comment about GNU grep.
lib/autoconf/functions.m4