Hi Folks, I have not seen any discussion or commit on this patch suggested by Moriyoshi Koizumi <[EMAIL PROTECTED]> (originally submitted to the bug-cvs list and forwarded by me) which allows MacOS X (10.2.x and 10.3.x) to properly be able to '#define HAVE_MAP_ANONYMOUS 1' along with '#define MAP_ANONYMOUS MAP_ANON' ...
This lets us get rid of the configure lines: cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #include < #include <sys/mman.h> #ifdef MAP_ANON I cant identify this map. #endif > _ACEOF and replace them with cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #include <sys/mman.h> #ifdef MAP_ANON I cant identify this map. #endif _ACEOF which at least is valid C code. Please install it in GNULIB. Thanks, -- Mark Index: m4/mmap-anon.m4 =================================================================== RCS file: /cvsroot/gnulib/gnulib/m4/mmap-anon.m4,v retrieving revision 1.4 diff -u -p -r1.4 mmap-anon.m4 --- m4/mmap-anon.m4 7 Mar 2005 17:29:29 -0000 1.4 +++ m4/mmap-anon.m4 1 May 2005 14:58:15 -0000 @@ -27,8 +27,8 @@ AC_DEFUN([gl_FUNC_MMAP_ANON], #endif ], [gl_have_mmap_anonymous=yes]) - if test $gl_have_mmap_anonymous = no; then - AC_EGREP_HEADER([MAP_ANON], [ + if test $gl_have_mmap_anonymous != yes; then + AC_EGREP_CPP([I cant identify this map.], [ #include <sys/mman.h> #ifdef MAP_ANON I cant identify this map. _______________________________________________ bug-gnulib mailing list bug-gnulib@gnu.org http://lists.gnu.org/mailman/listinfo/bug-gnulib