This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: New Autoconf test: HAVE_MMAP_FILE



  In message <20000404193339.N2775@wolery.cumb.org>you write:
  > This patch adds a new test to configure, HAVE_MMAP_FILE.  It tests
  > whether you can set up a read-only, private mapping of a normal file
  > with no specified address.  This case is used by loadmsgcat.c and
  > fixincl.c, and will shortly be used by cpplib.
  > 
  > zw
  > 
  > 	* aclocal.m4 (AM_GNU_GETTEXT): Don't AC_REQUIRE([AC_FUNC_MMAP]).
  > 	(AC_FUNC_MMAP_FILE): New macro, tests read-only private map of
  > 	a plain file.
  > 	* configure.in: Call AC_FUNC_MMAP_FILE.
  > 	* configure: Regenerate.
  > 	* config.in: Regenerate.
  > 
  > 	* intl/loadmsgcat.c: Test HAVE_MMAP_FILE not HAVE_MMAP.
  > 	* fixinc/fixincl.c: Likewise.
This is fine.  Though don't you need to update acconfig.h too (note I'm
not an autoconf expert, so I could be wrong).

jeff

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]