# $Id: Head.U,v 3.0.1.9 1997/02/28 15:02:09 ram Exp $
#
-# Generated on Fri Feb 11 21:50:12 EET 2000 [metaconfig 3.0 PL70]
+# Generated on Sat Feb 12 03:16:21 EET 2000 [metaconfig 3.0 PL70]
# (with additional metaconfig patches by perlbug@perl.com)
cat >/tmp/c1$$ <<EOF
use64bits=''
uselargefiles=''
uselongdouble=''
-uselonglong=''
usemorebits=''
usemultiplicity=''
nm_opt=''
loclibpth="$loclibpth /opt/gnu/lib /usr/GNU/lib /opt/GNU/lib"
: general looking path for locating libraries
-glibpth="/shlib /usr/shlib /lib/pa1.1 /usr/lib/large"
+glibpth="/shlib /usr/shlib /lib/pa20_64 /lib/pa1.1 /usr/lib/large"
glibpth="$glibpth /lib /usr/lib $xlibpth"
glibpth="$glibpth /lib/large /usr/lib/small /lib/small"
glibpth="$glibpth /usr/ccs/lib /usr/ucblib /usr/local/lib"
libstyle="static"
fi
if $test -f "$xxx"; then
- eval $libscheck
- fi
- if $test -f "$xxx"; then
case "$libstyle" in
shared) echo "Found -l$libname (shared)." ;;
static) echo "Found -l$libname." ;;
You have natively 64-bit integers.
EOM
- val="$define" ;;
-*) cat <<EOM
+ val="$define"
+ ;;
+*) case "$ccflags" in
+ *-DUSE_64_BITS*|*-DUSE_LONG_LONG*) use64bits="$define";;
+ *) case "$uselonglong" in
+ $define|true|[yY]*) use64bits="$define";;
+ esac
+ ;;
+ esac
+ case "$use64bits" in
+ $define|true|[yY]*) dflt='y';;
+ *) dflt='n';;
+ esac
+cat <<EOM
Perl can be built to take advantage of 64-bit integer types
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.
+If this doesn't make any sense to you, just accept the default '$dflt'.
EOM
- case "$use64bits" in
- $define|true|[yY]*) dflt='y';;
- *) dflt='n';;
- esac
- rp='Try to use 64-bit integers, if available?'
- . ./myread
- case "$ans" in
- y|Y) val="$define" ;;
- *) val="$undef" ;;
- esac
- ;;
+ rp='Try to use 64-bit integers, if available?'
+ . ./myread
+ case "$ans" in
+ [yY]*) val="$define" ;;
+ *) val="$undef" ;;
+ esac
+ ;;
esac
set use64bits
eval $setvar
;;
esac
-case "$uselonglong" in
-''|true|[yY]*) uselonglong="$define" ;;
-*) case "$ccflags" in
- *-DUSE_LONG_LONG*) uselonglong="$define" ;;
- *) uselonglong="$undef" ;;
- esac
- ;;
-esac
-case "$uselonglong" in
-$define) dflt='y';;
-*) dflt='n';;
-esac
-cat <<EOM
-
-Perl can be built to take advantage of long longs which
-(if available) may give more range for integer numbers.
-
-If this doesn't make any sense to you, just accept the default '$dflt'.
-EOM
-rp='Try to use long longs if available?'
-. ./myread
-case "$ans" in
-y|Y) val="$define" ;;
-*) val="$undef" ;;
-esac
-set uselonglong
-eval $setvar
-case "$uselonglong" in
-$define)
-: Look for a hint-file generated 'call-back-unit'. If the
-: user has specified that long longs should be used,
-: we may need to set or change some other defaults.
- if $test -f uselonglong.cbu; then
- echo "Your platform has some specific hints for long longs, using them..."
- . ./uselonglong.cbu
- else
- $cat <<EOM
-(Your platform doesn't have any specific hints for long longs.)
-EOM
- fi
- ;;
-esac
-
cat <<EOM
Previous version of $package used the standard IO mechanisms as defined
esac
case "$quadtype" in
-'') case "$uselonglong:$d_longlong:$longlongsize" in
- undef:define:8)
- echo "(You would have 'long long', but you are not using it.)" >&4 ;;
- *) echo "Alas, no 64-bit integer types in sight." >&4 ;;
- esac
+'') echo "Alas, no 64-bit integer types in sight." >&4
d_quad="$undef"
;;
*) if test X"$use64bits" = Xdefine -o X"$longsize" = X8; then
useithreads='$useithreads'
uselargefiles='$uselargefiles'
uselongdouble='$uselongdouble'
-uselonglong='$uselonglong'
usemorebits='$usemorebits'
usemultiplicity='$usemultiplicity'
usemymalloc='$usemymalloc'
This variable conditionally defines the USE_LONG_DOUBLE symbol,
and indicates that long doubles should be used when available.
-uselonglong (uselonglong.U):
- This variable conditionally defines the USE_LONG_LONG symbol,
- and indicates that long longs 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
# Package name : perl5
# Source directory : .
-# Configuration time: Wed Feb 9 21:48:10 EET 2000
+# Configuration time: Sat Feb 12 01:09:19 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 9 21:48:10 EET 2000'
+cf_time='Sat Feb 12 01:09:19 EET 2000'
charsize='1'
chgrp=''
chmod=''
useithreads='define'
uselargefiles='define'
uselongdouble='undef'
-uselonglong='define'
usemorebits='undef'
usemultiplicity='define'
usemymalloc='n'
/*
* Package name : perl5
* Source directory : .
- * Configuration time: Wed Feb 9 21:48:10 EET 2000
+ * Configuration time: Sat Feb 12 01:09:19 EET 2000
* Configured by : jhi
* Target system : osf1 alpha.hut.fi v4.0 878 alpha
*/
/*#define USE_LONG_DOUBLE / **/
#endif
-/* USE_LONG_LONG:
- * This symbol, if defined, indicates that long longs should
- * be used when available.
- */
-#ifndef USE_LONG_LONG
-#define USE_LONG_LONG /**/
-#endif
-
/* USE_MORE_BITS:
* This symbol, if defined, indicates that 64-bit interfaces and
* long doubles should be used when available.
#$uselongdouble USE_LONG_DOUBLE /**/
#endif
-/* USE_LONG_LONG:
- * This symbol, if defined, indicates that long longs should
- * be used when available.
- */
-#ifndef USE_LONG_LONG
-#$uselonglong USE_LONG_LONG /**/
-#endif
-
/* USE_MORE_BITS:
* This symbol, if defined, indicates that 64-bit interfaces and
* long doubles should be used when available.
i_sysstatfs='undef'
i_sysvfs='undef'
i_ustat='undef'
-uselonglong='define'
+use64bits='define'
uidsize='2'
gidsize='2'
;;
esac
case "$ccflags" in
- *-DUSE_LONG_LONG*) ;;
- *) ccflags="$ccflags -DUSE_LONG_LONG" ;;
+ *-DUSE_64_BITS*) ;;
+ *) ccflags="$ccflags -DUSE_64_BITS" ;;
esac
# When a 64-bit cc becomes available $archname64
# may need setting so that $archname gets it attached.
$define|true|[yY]*)
if [ "$xxOsRevMajor" -lt 11 ]; then
cat <<EOM >&4
+
64-bit compilation is not supported on HP-UX $xxOsRevMajor.
You need at least HP-UX 11.0.
Cannot continue, aborting.
+
EOM
exit 1
fi
+
+ # Without the 64-bit libc we cannot do much.
if [ ! -f /lib/pa20_64/libc.sl ]; then
cat <<EOM >&4
+
You do not seem to have the 64-bit libraries in /lib/pa20_64.
Most importantly, I cannot find /lib/pa20_64/libc.sl.
Cannot continue, aborting.
+
EOM
exit 1
fi
-
ccflags="$ccflags +DD64"
+ ldflags="$ldflags +DD64"
ld=/usr/bin/ld
ar=/usr/bin/ar
loclibpth="/lib/pa20_64 $loclibpth"
set `echo " $libswanted " | sed -e 's@ dl @ @'`
libswanted="$*"
- libscheck='
-case "`/usr/bin/file $xxx`" in
-*LP64*) ;;
-*) xxx=/non/64/bit$xxx ;;
-esac
-'
;;
esac
EOCBU
case "$cc $ccflags" in
*-n32*)
case "$ccflags" in
- *-DUSE_LONG_LONG) ;;
- *) ccflags="$ccflags -DUSE_LONG_LONG" ;;
+ *-DUSE_64_BITS*) ;;
+ *) ccflags="$ccflags -DUSE_64_BITS" ;;
esac
archname64="-n32"
;;
lflibs="`getconf LFS_LIBS 2>/dev/null|sed -e 's@^-l@@' -e 's@ -l@ @g`"
case "$lfcflags$lfldflags$lflibs" in
'');;
- *) uselonglong="$define"
- echo "(Large files in Solaris require also long longs, using long longs...)"
- ccflags="$ccflags -DUSE_LONG_LONG $lfcflags"
- ldflags="$ldflags $ldldflags"
+ *) use64bits="$define"
+ echo "(Large files in Solaris require also using long longs...)"
+ case "$ccflags" in
+ *-DUSE_64_BITS*) ;;
+ *) ccflags="$ccflags -DUSE_64_BITS" ;;
+ esac
+ ccflags="$ccflags $lfcflags"
+ ldflags="$ldflags $lfldflags"
libswanted="$libswanted $lflibs"
;;
esac
#endif /* !USE_LOCALE_NUMERIC */
-#if !defined(Atol) && defined(USE_64_BITS) && defined(HAS_QUAD)
-# if !defined(Atol) && defined(HAS_LONG_LONG)
-# if !defined(Atol) && defined(HAS_STRTOLL)
-# define Atol(s) strtoll(s, (char**)NULL, 10)
-# endif
-# if !defined(Atol) && defined(HAS_ATOLL)
-# define Atol atoll
-# endif
-# endif
+#if !defined(Atol) && defined(IV_IS_QUAD) && QUADKIND == QUAD_IS_LONG_LONG
+# if !defined(Atol) && defined(HAS_STRTOLL)
+# define Atol(s) strtoll(s, (char**)NULL, 10)
+# endif
+# if !defined(Atol) && defined(HAS_ATOLL)
+# define Atol atoll
+# endif
/* is there atoq() anywhere? */
#endif
#if !defined(Atol)
# define Atol atol /* we assume atol being available anywhere */
#endif
-#if !defined(Strtoul) && defined(USE_64_BITS) && defined(HAS_QUAD)
-# if !defined(Strtoul) && defined(HAS_LONG_LONG) && defined(HAS_STRTOULL)
+#if !defined(Strtoul) && defined(UV_IS_QUAD) && QUADKIND == QUAD_IS_LONG_LONG
+# if !defined(Strtoul) && defined(HAS_STRTOULL)
# define Strtoul strtoull
# endif
+#endif
/* is there atouq() anywhere? */
-# if !defined(Strtoul) && defined(USE_64_BITS) && defined(HAS_STRTOUQ)
-# define Strtoul strtouq
-# endif
-#nendif
+#if !defined(Strtoul) && defined(HAS_STRTOUQ)
+# define Strtoul strtouq
+#endif
#if !defined(Strtoul)
# define Strtoul strtoul /* we assume strtoul being available anywhere */
#endif
$ WC "d_longdbl='" + perl_d_longdbl + "'"
$ WC "longdblsize='" + perl_longdblsize + "'"
$ WC "d_longlong='" + perl_d_longlong + "'"
-$ WC "uselonglong='" + perl_d_longlong + "'"
$ WC "longlongsize='" + perl_longlongsize + "'"
$ WC "d_mkstemp='" + perl_d_mkstemp + "'"
$ WC "d_mkstemps='" + perl_d_mkstemps + "'"
$ ENDIF
$ if use_64bit.eqs."Y"
$ THEN
-$ WRITE CONFIG "#define USE_LONG_LONG"
+$ WRITE CONFIG "#define USE_64_BITS"
$ WRITE CONFIG "#define USE_LONG_DOUBLE"
$ ENDIF
$ WRITE CONFIG "#define HAS_ENVGETENV"
$usedl='undef'
$uselargefiles='undef'
$uselongdouble='define'
-$uselonglong='undef'
$usemorebits='undef'
$usemultiplicity='undef'
$useperlio='undef'
#define USE_LONG_DOUBLE /**/
#endif
-/* USE_LONG_LONG:
- * This symbol, if defined, indicates that long longs should
- * be used when available.
- */
-#ifndef USE_LONG_LONG
-/*#define USE_LONG_LONG /**/
-#endif
-
#ifndef USE_MORE_BITS
/*#define USE_MORE_BITS /**/
#endif
#$uselongdouble USE_LONG_DOUBLE /**/
#endif
-/* USE_LONG_LONG:
- * This symbol, if defined, indicates that long longs should
- * be used when available.
- */
-#ifndef USE_LONG_LONG
-#$uselonglong USE_LONG_LONG /**/
-#endif
-
#ifndef USE_MORE_BITS
#$usemorebits USE_MORE_BITS /**/
#endif
useithreads='undef'
uselargefiles='undef'
uselongdouble='undef'
-uselonglong='undef'
usemorebits='undef'
usemultiplicity='undef'
usemymalloc='n'
useithreads='undef'
uselargefiles='undef'
uselongdouble='undef'
-uselonglong='undef'
usemorebits='undef'
usemultiplicity='undef'
usemymalloc='n'
useithreads='undef'
uselargefiles='undef'
uselongdouble='undef'
-uselonglong='undef'
usemorebits='undef'
usemultiplicity='undef'
usemymalloc='n'
/*#define USE_LONG_DOUBLE /**/
#endif
-/* USE_LONG_LONG:
- * This symbol, if defined, indicates that long longs should
- * be used when available.
- */
-#ifndef USE_LONG_LONG
-/*#define USE_LONG_LONG /**/
-#endif
-
#ifndef USE_MORE_BITS
/*#define USE_MORE_BITS /**/
#endif
/*#define USE_LONG_DOUBLE /**/
#endif
-/* USE_LONG_LONG:
- * This symbol, if defined, indicates that long longs should
- * be used when available.
- */
-#ifndef USE_LONG_LONG
-/*#define USE_LONG_LONG /**/
-#endif
-
#ifndef USE_MORE_BITS
/*#define USE_MORE_BITS /**/
#endif
/*#define USE_LONG_DOUBLE /**/
#endif
-/* USE_LONG_LONG:
- * This symbol, if defined, indicates that long longs should
- * be used when available.
- */
-#ifndef USE_LONG_LONG
-/*#define USE_LONG_LONG /**/
-#endif
-
#ifndef USE_MORE_BITS
/*#define USE_MORE_BITS /**/
#endif