On 3/22/2011 4:57 PM, Eric Blake wrote:
On 03/22/2011 02:53 PM, Ken Brown wrote:
For a long time, the autoconf mmap test has failed on Cygwin even though
Cygwin has a working mmap. This was reported to bug-autoconf in
November 2009, and a patch that fixed it for Cygwin was submitted by
Eric Blake:
http://lists.gnu.org/archive/html/bug-autoconf/2009-11/msg00015.html
And that patch was applied in autoconf 2.65. Per the NEWS:
* Major changes in Autoconf 2.65 (2009-11-21) [stable]
** The AC_FUNC_MMAP macro has been fixed to be portable to systems like
Cygwin (bug present since macro was introduced in 2.0).
Is there any chance of getting this bug fixed?
At this point, the only places where the bug still exists in the wild
are packages that use autoconf< 2.65 to generate their configure file.
Currently, the cygport
tool (which many Cygwin package maintainers use to build packages) works
around it by exporting
ac_cv_func_mmap_fixed_mapped=yes
And this is the correct way to work around such packages if you want to
avoid rerunning autoconf with a newer version.
Thanks for the quick reply, Eric. I'm still seeing the test fail when
building both emacs and texlive, even after running autoreconf (2.68).
I'll follow-up on the Cygwin list with more details.
Ken
_______________________________________________
Autoconf mailing list
Autoconf@xxxxxxx
http://lists.gnu.org/mailman/listinfo/autoconf