summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJarkko Hietaniemi <jhi@iki.fi>1999-09-20 09:41:22 +0000
committerJarkko Hietaniemi <jhi@iki.fi>1999-09-20 09:41:22 +0000
commit1baac590b58cc18e129bff7bee8a7318ca4d0f8e (patch)
tree788d0bd97a4d91352f8ab0b7703d63b9f50fe7b9
parent09458382d6f82e1b78d84a10deb31f6e154f062a (diff)
downloadperl-1baac590b58cc18e129bff7bee8a7318ca4d0f8e.tar.gz
Prompt for uselfs.
p4raw-id: //depot/cfgperl@4205
-rwxr-xr-xConfigure38
-rw-r--r--Porting/Glossary10
-rw-r--r--Porting/config.sh23
-rw-r--r--Porting/config_H9
-rw-r--r--config_h.SH2
5 files changed, 58 insertions, 24 deletions
diff --git a/Configure b/Configure
index a63fbf6d78..ab41b667ca 100755
--- a/Configure
+++ b/Configure
@@ -20,7 +20,7 @@
# $Id: Head.U,v 3.0.1.9 1997/02/28 15:02:09 ram Exp $
#
-# Generated on Mon Sep 20 12:12:09 EET DST 1999 [metaconfig 3.0 PL70]
+# Generated on Mon Sep 20 12:40:23 EET DST 1999 [metaconfig 3.0 PL70]
# (with additional metaconfig patches by perlbug@perl.com)
cat >/tmp/c1$$ <<EOF
@@ -3027,12 +3027,36 @@ case "$usemorebits" in
;;
esac
+
+cat <<EOM
+
+Perl can be built to understand large files (files larger than 2 gigabytes)
+on some systems. To do so, Configure must be run with -Duselfs.
+
+If this doesn't make any sense to you, just accept the default.
+EOM
+case "$uselfs" in
+"$define"|true|[yY]*) dflt='y' ;;
+*) dflt='n' ;;
+esac
+rp='Try to understand large files?'
+. ./myread
+case "$ans" in
+y|Y) val="$define" ;;
+*) val="$undef" ;;
+esac
+set uselfs
+eval $setvar
+case "$uselfs" in
+"$define") use64bits="$define" ;;
+esac
+
cat <<EOM
Perl can be built to take advantage of explicit 64-bit interfaces,
on some systems. To do so, Configure must be run with -Duse64bits.
-If this doesn't make any sense to you, just accept the default 'n'.
+If this doesn't make any sense to you, just accept the default.
EOM
case "$use64bits" in
$define|true|[yY]*) dflt='y';;
@@ -6516,16 +6540,6 @@ else
installsitearch="$sitearchexp"
fi
-
-case "$uselfs" in
-"$define"|true|[yY]*)
- uselfs="$define"
- use64bits="$define"
- ;;
-*) uselfs="$undef"
- ;;
-esac
-
cat <<EOM
Perl can be built to take advantage of long doubles which
diff --git a/Porting/Glossary b/Porting/Glossary
index 30c75b656c..fe4b9c4fd4 100644
--- a/Porting/Glossary
+++ b/Porting/Glossary
@@ -3031,10 +3031,20 @@ usedl (dlsrc.U):
This variable indicates if the the system supports dynamic
loading of some sort. See also dlsrc and dlobj.
+uselfs (uselfs.U):
+ This variable conditionally defines the USE_LARGE_FILES symbol,
+ and indicates that large file interfaces should be used when
+ available. The use64bits symbol will also be turned on if necessary.
+
uselongdouble (uselongdbl.U):
This variable conditionally defines the USE_LONG_DOUBLE symbol,
and indicates that long doubles should be used when available.
+usemorebits (usemorebits.U):
+ This variable conditionally defines the USE_MORE_BITS symbol,
+ and indicates that explicit 64-bit interfaces and long doubles
+ should be used when available.
+
usemultiplicity (usemultiplicity.U):
This variable conditionally defines the MULTIPLICITY symbol,
and indicates that Perl should be built to use multiplicity.
diff --git a/Porting/config.sh b/Porting/config.sh
index d0d5b2a669..5dea400095 100644
--- a/Porting/config.sh
+++ b/Porting/config.sh
@@ -8,7 +8,7 @@
# Package name : perl5
# Source directory : .
-# Configuration time: Fri Sep 17 12:08:19 EET DST 1999
+# Configuration time: Mon Sep 20 12:44:36 EET DST 1999
# Configured by : jhi
# Target system : osf1 alpha.hut.fi v4.0 878 alpha
@@ -56,7 +56,7 @@ ccflags='-pthread -std -DLANGUAGE_C'
ccsymbols='__LANGUAGE_C__=1 _LONGLONG=1 LANGUAGE_C=1 SYSTYPE_BSD=1'
cf_by='jhi'
cf_email='yourname@yourhost.yourplace.com'
-cf_time='Fri Sep 17 12:08:19 EET DST 1999'
+cf_time='Mon Sep 20 12:44:36 EET DST 1999'
chgrp=''
chmod=''
chown=''
@@ -667,7 +667,9 @@ uname='uname'
uniq='uniq'
use64bits='define'
usedl='define'
+uselfs='define'
uselongdouble='undef'
+usemorebits='undef'
usemultiplicity='undef'
usemymalloc='n'
usenm='true'
@@ -694,18 +696,19 @@ zcat=''
zip='zip'
# Configure command line arguments.
config_arg0='Configure'
-config_args='-Dprefix=/opt/perl -Doptimize=-O -Dusethreads -Duse64bits -Dcf_by=yourname -Dcf_email=yourname@yourhost.yourplace.com -Dperladmin=yourname@yourhost.yourplace.com -Dmydomain=.yourplace.com -Dmyhostname=yourhost -dE'
-config_argc=10
+config_args='-Dprefix=/opt/perl -Doptimize=-O -Dusethreads -Duse64bits -Duselfs -Dcf_by=yourname -Dcf_email=yourname@yourhost.yourplace.com -Dperladmin=yourname@yourhost.yourplace.com -Dmydomain=.yourplace.com -Dmyhostname=yourhost -dE'
+config_argc=11
config_arg1='-Dprefix=/opt/perl'
config_arg2='-Doptimize=-O'
config_arg3='-Dusethreads'
config_arg4='-Duse64bits'
-config_arg5='-Dcf_by=yourname'
-config_arg6='-Dcf_email=yourname@yourhost.yourplace.com'
-config_arg7='-Dperladmin=yourname@yourhost.yourplace.com'
-config_arg8='-Dmydomain=.yourplace.com'
-config_arg9='-Dmyhostname=yourhost'
-config_arg10='-dE'
+config_arg5='-Duselfs'
+config_arg6='-Dcf_by=yourname'
+config_arg7='-Dcf_email=yourname@yourhost.yourplace.com'
+config_arg8='-Dperladmin=yourname@yourhost.yourplace.com'
+config_arg9='-Dmydomain=.yourplace.com'
+config_arg10='-Dmyhostname=yourhost'
+config_arg11='-dE'
PERL_REVISION=5
PERL_VERSION=5
PERL_SUBVERSION=61
diff --git a/Porting/config_H b/Porting/config_H
index bdf4aee8bd..b6468df703 100644
--- a/Porting/config_H
+++ b/Porting/config_H
@@ -17,7 +17,7 @@
/*
* Package name : perl5
* Source directory : .
- * Configuration time: Fri Sep 17 12:08:19 EET DST 1999
+ * Configuration time: Mon Sep 20 12:44:36 EET DST 1999
* Configured by : jhi
* Target system : osf1 alpha.hut.fi v4.0 878 alpha
*/
@@ -2461,6 +2461,13 @@
*/
#define USE_64_BITS /**/
+/* USE_LARGE_FILES:
+ * This symbol, if defined, indicates that large file support
+ * should be used when available. The USE_64_BITS symbol will
+ * also be turned on if necessary.
+ */
+#define USE_LARGE_FILES /**/
+
/* USE_LONG_DOUBLE:
* This symbol, if defined, indicates that long doubles should
* be used when available.
diff --git a/config_h.SH b/config_h.SH
index 0f94032371..b5fa0dfc29 100644
--- a/config_h.SH
+++ b/config_h.SH
@@ -2478,7 +2478,7 @@ sed <<!GROK!THIS! >config.h -e 's!^#undef\(.*/\)\*!/\*#define\1 \*!' -e 's!^#un-
/* USE_LARGE_FILES:
* This symbol, if defined, indicates that large file support
* should be used when available. The USE_64_BITS symbol will
- * also be turned on.
+ * also be turned on if necessary.
*/
#$uselfs USE_LARGE_FILES /**/