regen Configure.
p4raw-id: //depot/cfgperl@5189
# $Id: Head.U,v 3.0.1.9 1997/02/28 15:02:09 ram Exp $
#
-# Generated on Thu Feb 17 01:07:48 EET 2000 [metaconfig 3.0 PL70]
+# Generated on Tue Feb 22 06:52:47 EET 2000 [metaconfig 3.0 PL70]
# (with additional metaconfig patches by perlbug@perl.com)
cat >/tmp/c1$$ <<EOF
set mktime d_mktime
eval $inlibc
+: see if this is a sys/mman.h system
+set sys/mman.h i_sysmman
+eval $inhdr
+
+: see if mmap exists
+set mmap d_mmap
+eval $inlibc
+: see what shmat returns
+: default to something harmless
+mmaptype='void *'
+case "$i_sysmman$d_mmap" in
+"$define$define")
+ $cat >mmap.c <<'END'
+#include <sys/mman.h>
+void *mmap();
+END
+ if $cc $ccflags -c mmap.c >/dev/null 2>&1; then
+ mmaptype='void *'
+ else
+ mmaptype='caddr_t'
+ fi
+ echo "and it returns ($mmaptype)." >&4
+ ;;
+esac
+
+
+
: see if mprotect exists
set mprotect d_mprotect
eval $inlibc
*)
case "$alignbytes" in
'') echo "Checking alignment constraints..." >&4
- $cat >try.c <<'EOCP'
+ if $test "X$uselongdouble" = Xdefine -a "X$d_longdbl" = Xdefine; then
+ $cat >try.c <<'EOCP'
+typedef long double NV;
+EOCP
+ else
+ $cat >try.c <<'EOCP'
+typedef double NV;
+EOCP
+ fi
+ $cat >>try.c <<'EOCP'
#include <stdio.h>
struct foobar {
char foo;
- double bar;
+ NV bar;
} try_algn;
int main()
{
*) echo "Nope, it doesn't.";;
esac
-: see if this is a sys/mman.h system
-set sys/mman.h i_sysmman
-eval $inhdr
-
-: see if mmap exists
-set mmap d_mmap
-eval $inlibc
-: see what shmat returns
-: default to something harmless
-mmaptype='void *'
-case "$i_sysmman$d_mmap" in
-"$define$define")
- $cat >mmap.c <<'END'
-#include <sys/mman.h>
-void *mmap();
-END
- if $cc $ccflags -c mmap.c >/dev/null 2>&1; then
- mmaptype='void *'
- else
- mmaptype='caddr_t'
- fi
- echo "and it returns ($mmaptype)." >&4
- ;;
-esac
-
-
-
: see what type is used for mode_t
rp="What is the type used for file modes for system calls (e.g. fchmod())?"
set mode_t modetype int stdio.h sys/types.h
alignbytes (alignbytes.U):
This variable holds the number of bytes required to align a
- double. Usual values are 2, 4 and 8.
+ double-- or a long double when applicable. Usual values are
+ 2, 4 and 8. The default is eight, for safety.
ansi2knr (ansi2knr.U):
This variable is set if the user needs to run ansi2knr.
This variable conditionally defines the I_SYS_MMAN symbol, and
indicates whether a C program should include <sys/mman.h>.
+i_sysmode (i_sysmode.U):
+ This variable conditionally defines the I_SYSMODE symbol,
+ and indicates whether a C program should include <sys/mode.h>.
+
i_sysmount (i_sysmount.U):
This variable conditionally defines the I_SYSMOUNT symbol,
and indicates whether a C program should include <sys/mount.h>.
# Package name : perl5
# Source directory : .
-# Configuration time: Wed Feb 16 01:08:43 EET 2000
+# Configuration time: Tue Feb 22 07:10:02 EET 2000
# Configured by : jhi
# Target system : osf1 alpha.hut.fi v4.0 878 alpha
ccsymbols='__alpha=1 __LANGUAGE_C__=1 __osf__=1 __unix__=1 _LONGLONG=1 _SYSTYPE_BSD=1 SYSTYPE_BSD=1 unix=1'
cf_by='jhi'
cf_email='yourname@yourhost.yourplace.com'
-cf_time='Wed Feb 16 01:08:43 EET 2000'
+cf_time='Tue Feb 22 07:10:02 EET 2000'
charsize='1'
chgrp=''
chmod=''
i_sysioctl='define'
i_syslog='define'
i_sysmman='define'
+i_sysmode='define'
i_sysmount='define'
i_sysndir='undef'
i_sysparam='define'
/*
* Package name : perl5
* Source directory : .
- * Configuration time: Wed Feb 16 01:08:43 EET 2000
+ * Configuration time: Tue Feb 22 07:10:02 EET 2000
* Configured by : jhi
* Target system : osf1 alpha.hut.fi v4.0 878 alpha
*/
/* MEM_ALIGNBYTES:
* This symbol contains the number of bytes required to align a
- * double. Usual values are 2, 4 and 8. The default is eight,
- * for safety.
+ * double, or a long double when applicable. Usual values are 2,
+ * 4 and 8. The default is eight, for safety.
*/
#if defined(CROSSCOMPILE) || defined(MULTIARCH)
# define MEM_ALIGNBYTES 8
*/
/*#define HAS_MKSTEMPS / **/
+/* HAS_MMAP:
+ * This symbol, if defined, indicates that the mmap system call is
+ * available to map a file into memory.
+ */
/* Mmap_t:
* This symbol holds the return type of the mmap() system call
* (and simultaneously the type of the first argument).
* Usually set to 'void *' or 'cadd_t'.
*/
+#define HAS_MMAP /**/
#define Mmap_t void * /**/
/* HAS_MPROTECT:
#define PERL_XS_APIVERSION "5.5.660"
#define PERL_PM_APIVERSION "5.005"
+/* I_SYSMODE:
+ * This symbol, if defined, indicates that <sys/mode.h> exists and
+ * should be included.
+ */
+#define I_SYSMODE /**/
+
/* I_SYS_UTSNAME:
* This symbol, if defined, indicates that <sys/utsname.h> exists and
* should be included.
/* MEM_ALIGNBYTES:
* This symbol contains the number of bytes required to align a
- * double. Usual values are 2, 4 and 8. The default is eight,
- * for safety.
+ * double, or a long double when applicable. Usual values are 2,
+ * 4 and 8. The default is eight, for safety.
*/
#if defined(CROSSCOMPILE) || defined(MULTIARCH)
# define MEM_ALIGNBYTES 8
*/
#$d_mkstemps HAS_MKSTEMPS /**/
+/* HAS_MMAP:
+ * This symbol, if defined, indicates that the mmap system call is
+ * available to map a file into memory.
+ */
/* Mmap_t:
* This symbol holds the return type of the mmap() system call
* (and simultaneously the type of the first argument).
* Usually set to 'void *' or 'cadd_t'.
*/
+#$d_mmap HAS_MMAP /**/
#define Mmap_t $mmaptype /**/
/* HAS_MPROTECT: