K 10
svn:author
V 6
kondou
K 8
svn:date
V 27
1998-06-11T01:14:13.000000Z
K 7
svn:log
V 1095
configure:
configure.in:
	- From: Heath Kehoe <hakehoe@norand.com>
	- While running configure for INN 2.0 on an HP/UX 10.20 system, I
	  noticed that the mmap test failed.  This is incorrect; the HP
	  mmap should work fine with INN.  So I investigated, and found
	  that autoconf's mmap test tries a specific usage of mmap that
	  HP/UX does not like (namely, it tries mmap with the MAP_FIXED
	  flag).  INN does not use MAP_FIXED.  In addition, the autoconf
	  test verifies that MAP_PRIVATE works properly, which is also
	  useless since INN always uses MAP_SHARED.

	  So, I've modified configure.in to replace AC_FUNC_MMAP with
	  a version of the mmap test modified to use MAP_SHARED instead
	  of MAP_FIXED|MAP_PRIVATE.

	  In addition, I added a similar test, that can determine how
	  MMAP_SYNC should be set.  I've tried this on HP/UX and linux,
	  and got correct results (HP needs MMAP_SYNC=DO, and linux
	  does not).

	  The enclosed patch includes the modifications to configure.in
	  and config.scoreboard; and also includes a fix to a minor,
	  HPUX-specific problem in nnrpd.c

END
