p4raw-id: //depot/cfgperl@5326
# $Id: Head.U,v 3.0.1.9 1997/02/28 15:02:09 ram Exp $
#
-# Generated on Mon Feb 28 08:28:06 EET 2000 [metaconfig 3.0 PL70]
+# Generated on Mon Feb 28 19:17:18 EET 2000 [metaconfig 3.0 PL70]
# (with additional metaconfig patches by perlbug@perl.com)
cat >/tmp/c1$$ <<EOF
longlongsize=''
d_lseekproto=''
d_lstat=''
+d_madvise=''
d_mblen=''
d_mbstowcs=''
d_mbtowc=''
set lstat d_lstat
eval $inlibc
+: see if madvise exists
+set madvise d_madvise
+eval $inlibc
+
: see if mblen exists
set mblen d_mblen
eval $inlibc
d_longlong='$d_longlong'
d_lseekproto='$d_lseekproto'
d_lstat='$d_lstat'
+d_madvise='$d_madvise'
d_mblen='$d_mblen'
d_mbstowcs='$d_mbstowcs'
d_mbtowc='$d_mbtowc'
#define LONGLONGSIZE $longlongsize /**/
#endif
+/* HAS_MADVISE:
+ * This symbol, if defined, indicates that the madvise system call is
+ * available to map a file into memory.
+ */
+#$d_madvise HAS_MADVISE /**/
+
/* HAS_MEMCHR:
* This symbol, if defined, indicates that the memchr routine is available
* to locate characters within a C string.
HAS_MMAP
HAS_MPROTECT
HAS_MSYNC
- HAS_MADVSISE
+ HAS_MADVISE
HAS_MUNMAP
I_SYSMMAN
Mmap_t
d_longlong='undef'
d_lseekproto='define'
d_lstat='undef'
+d_madvise='undef'
d_mblen='define'
d_mbstowcs='define'
d_mbtowc='define'
d_longlong='undef'
d_lseekproto='define'
d_lstat='undef'
+d_madvise='undef'
d_mblen='define'
d_mbstowcs='define'
d_mbtowc='define'
d_longlong='undef'
d_lseekproto='define'
d_lstat='undef'
+d_madvise='undef'
d_mblen='define'
d_mbstowcs='define'
d_mbtowc='define'