# $Id: Head.U,v 3.0.1.9 1997/02/28 15:02:09 ram Exp $
#
-# Generated on Wed Apr 24 03:05:12 EET DST 2002 [metaconfig 3.0 PL70]
+# Generated on Wed May 1 05:49:09 EET DST 2002 [metaconfig 3.0 PL70]
# (with additional metaconfig patches by perlbug@perl.org)
cat >c1$$ <<EOF
installarchlib="$archlibexp"
fi
-
-: Binary compatibility with 5.005 is not possible for builds
-: with advanced features
-case "$usethreads$usemultiplicity" in
-*define*)
- bincompat5005="$undef"
- d_bincompat5005="$undef"
- ;;
-*) $cat <<EOM
-
-This version of Perl can be compiled for binary compatibility with 5.005.
-If you decide to do so, you will be able to continue using most of the
-extensions that were compiled for Perl 5.005.
-
-EOM
- case "$bincompat5005$d_bincompat5005" in
- *"$undef"*) dflt=n ;;
- *) dflt=y ;;
- esac
- rp='Binary compatibility with Perl 5.005?'
- . ./myread
- case "$ans" in
- y*) val="$define" ;;
- *) val="$undef" ;;
- esac
- set d_bincompat5005
- eval $setvar
- case "$d_bincompat5005" in
- "$define")
- bincompat5005="$define"
- ;;
- *) bincompat5005="$undef"
- d_bincompat5005="$undef"
- ;;
- esac
- ;;
-esac
-
-
: see if setuid scripts can be secure
$cat <<EOM
''|' ') dflt=none ;;
esac
case "$dflt" in
-5.005) case "$bincompat5005" in
- $define|true|[yY]*) ;;
- *) dflt=none ;;
- esac
- ;;
+5.005) dflt=none ;;
esac
$cat <<'EOM'
set bcopy d_bcopy
eval $inlibc
+
+: Binary compatibility with 5.005 is not possible for builds
+: with advanced features
+case "$usethreads$usemultiplicity" in
+*define*)
+ bincompat5005="$undef"
+ d_bincompat5005="$undef"
+ ;;
+*) $cat <<EOM
+
+This version of Perl can be compiled for binary compatibility with 5.005.
+If you decide to do so, you will be able to continue using most of the
+extensions that were compiled for Perl 5.005.
+
+EOM
+ case "$bincompat5005$d_bincompat5005" in
+ *"$undef"*) dflt=n ;;
+ *) dflt=y ;;
+ esac
+ rp='Binary compatibility with Perl 5.005?'
+ . ./myread
+ case "$ans" in
+ y*) val="$define" ;;
+ *) val="$undef" ;;
+ esac
+ set d_bincompat5005
+ eval $setvar
+ case "$d_bincompat5005" in
+ "$define")
+ bincompat5005="$define"
+ ;;
+ *) bincompat5005="$undef"
+ d_bincompat5005="$undef"
+ ;;
+ esac
+ ;;
+esac
+
+
: see if this is a unistd.h system
set unistd.h i_unistd
eval $inhdr
eval $typedef_ask
: Find earliest binary compatible site_perl subdirectory perl can use.
-case "$bincompat5005" in
-"$define") xs_apiversion='5.005' ;;
-*) xs_apiversion=$version ;; # The current site_perl version.
-esac
+xs_apiversion=$version # The current site_perl version.
: Find earliest pure perl site_perl subdirectory perl can use.
: The versioned directories started at 5.005.
pm_apiversion='5.005'
a perl that will be binary compatible with the 5.005 release.
However, if you run Configure with any custom options, such as
--Dusethreads, -Dusemultiplicity, -Dusemymalloc, -Ubincompat5005 etc.,
+-Dusethreads, -Dusemultiplicity, -Dusemymalloc, etc.,
the resulting perl will not be binary compatible. Under these
circumstances, if you have dynamically loaded extensions that were
built under perl 5.005, you will need to rebuild and reinstall all
=item -DPERL_POLLUTE_MALLOC
-NOTE: This flag is enabled automatically on some platforms if you
-asked for binary compatibility with version 5.005, or if you just
-run Configure to accept all the defaults on those platforms. You
-can refuse the automatic binary compatibility flags wholesale by
-running:
-
- sh Configure -Ubincompat5005
-
-or by answering 'n' at the appropriate prompt.
+NOTE: This flag is enabled automatically on some platforms if you just
+run Configure to accept all the defaults on those platforms.
Perl's malloc family of functions are called Perl_malloc(),
Perl_realloc(), Perl_calloc() and Perl_mfree(). When this flag is
baserev='5'
bash=''
bin='~INST_TOP~~INST_VER~\bin~INST_ARCH~'
-bincompat5005='undef'
binexp='~INST_TOP~~INST_VER~\bin~INST_ARCH~'
bison=''
byacc='byacc'
d_attribut='undef'
d_bcmp='undef'
d_bcopy='undef'
-d_bincompat5005='undef'
d_bsd='define'
d_bsdgetpgrp='undef'
d_bsdsetpgrp='undef'
possible value. The version list appropriate for the current
system is determined in inc_version_list.U.
XXX To do: Since compatibility can depend on compile time
- options (such as bincompat, longlong, etc.) it should
+ options (such as longlong, etc.) it should
(perhaps) be set by Configure, but currently it isn't.
Currently, we read a hard-wired value from patchlevel.h.
Perhaps what we ought to do is take the hard-wired value from
is most often a local directory such as /usr/local/bin. Programs using
this variable must be prepared to deal with ~name substitution.
-bincompat5005 (bincompat5005.U):
- This variable contains y if this version of Perl should be
- binary-compatible with Perl 5.005.
-
binexp (bin.U):
This is the same as the bin variable, but is filename expanded at
configuration time, for use in your makefiles.
This variable conditionally defines the HAS_BCOPY symbol if
the bcopy() routine is available to copy strings.
-d_bincompat5005 (bincompat5005.U):
- This variable conditionally defines BINCOMPAT5005 so that embed.h
- can take special action if this version of Perl should be
- binary-compatible with Perl 5.005. This is impossible for builds
- that use features like threads and multiplicity it is always $undef
- for those versions.
-
d_bsd (Guess.U):
This symbol conditionally defines the symbol BSD when running on a
BSD system.
See INSTALL for how this works.
The versioned site_perl directory was introduced in 5.005,
so that is the lowest possible value.
- Since this can depend on compile time options (such as
- bincompat) it is set by Configure. Other non-default sources
+ Since this can depend on compile time options
+ it is set by Configure. Other non-default sources
of potential incompatibility, such as multiplicity, threads,
debugging, 64bits, sfio, etc., are not checked for currently,
though in principle we could go snooping around in old
baserev='5.0'
bash=''
bin='/opt/perl/bin'
-bincompat5005='define'
binexp='/opt/perl/bin'
bison='bison'
byacc='byacc'
d_attribut='undef'
d_bcmp='define'
d_bcopy='define'
-d_bincompat5005='define'
d_bsd='undef'
d_bsdgetpgrp='undef'
d_bsdsetpgrp='define'
=item *
-bincompat5005="undef": sorry, but you will have to recompile any
-binary 5.005 extensions that you may be using (if any; there is no
-5.005 code in what you download from bixby.org)
uselargefiles="undef": not available in MPE for POSIX files yet.
=item *
* See INSTALL for how this works.
* The versioned site_perl directory was introduced in 5.005,
* so that is the lowest possible value.
- * Since this can depend on compile time options (such as
- * bincompat) it is set by Configure. Other non-default sources
+ * Since this can depend on compile time options
+ * it is set by Configure. Other non-default sources
* of potential incompatibility, such as multiplicity, threads,
* debugging, 64bits, sfio, etc., are not checked for currently,
* though in principle we could go snooping around in old
$ WC "d_bcmp='" + d_bcmp + "'"
$ WC "d_bcopy='" + d_bcopy + "'"
$ WC "d_bincompat3='undef'"
-$ WC "d_bincompat5005='undef'"
$! WC "d_bsdpgrp='undef'"
$ WC "d_bsdgetpgrp='undef'"
$ WC "d_bsdsetpgrp='undef'"
baserev='5.0'
bash=''
bin=''
-bincompat5005='false'
binexp=''
bison='bison'
byacc=''
d_attribut='undef'
d_bcmp='define'
d_bcopy='define'
-d_bincompat5005='undef'
d_bsd='undef'
d_bsdgetpgrp='undef'
d_bsdsetpgrp='undef'
''|64*) archname64=64all ;;
esac
longsize="8"
- # Don't try backwards compatibility
- bincompat="$undef"
- d_bincompat5005="$undef"
qacflags=''
qaldflags=''
qalibs=''
cccdlflags=' '
ld='ld2'
-# optional(ish)
-# - perl malloc needs to be unpolluted
-bincompat5005='undef'
-
# Win9x problem with non-blocking read from a closed pipe
d_eofnblk='define'
#
# Functionality.
#
-bincompat5005="$undef"
uselargefiles="$undef"
#
# Expected functionality provided in mpeix.c.
my $PLATFORM;
my $CCTYPE;
-my %bincompat5005 =
- (
- Perl_call_atexit => "perl_atexit",
- Perl_eval_sv => "perl_eval_sv",
- Perl_eval_pv => "perl_eval_pv",
- Perl_call_argv => "perl_call_argv",
- Perl_call_method => "perl_call_method",
- Perl_call_pv => "perl_call_pv",
- Perl_call_sv => "perl_call_sv",
- Perl_get_av => "perl_get_av",
- Perl_get_cv => "perl_get_cv",
- Perl_get_hv => "perl_get_hv",
- Perl_get_sv => "perl_get_sv",
- Perl_init_i18nl10n => "perl_init_i18nl10n",
- Perl_init_i18nl14n => "perl_init_i18nl14n",
- Perl_new_collate => "perl_new_collate",
- Perl_new_ctype => "perl_new_ctype",
- Perl_new_numeric => "perl_new_numeric",
- Perl_require_pv => "perl_require_pv",
- Perl_safesyscalloc => "Perl_safecalloc",
- Perl_safesysfree => "Perl_safefree",
- Perl_safesysmalloc => "Perl_safemalloc",
- Perl_safesysrealloc => "Perl_saferealloc",
- Perl_set_numeric_local => "perl_set_numeric_local",
- Perl_set_numeric_standard => "perl_set_numeric_standard",
- Perl_malloc => "malloc",
- Perl_mfree => "free",
- Perl_realloc => "realloc",
- Perl_calloc => "calloc",
- );
-
-my $bincompat5005 = join("|", keys %bincompat5005);
-
while (@ARGV) {
my $flag = shift;
$define{$1} = 1 if ($flag =~ /^-D(\w+)$/);
/^\s*[\da-f:]+\s+(\w+)/i and $mapped{$1}++ foreach <MAP>;
close MAP or die 'Cannot close miniperl.map';
- @missing = grep { !exists $mapped{$_} and !exists $bincompat5005{$_} }
+ @missing = grep { !exists $mapped{$_} }
keys %export;
delete $export{$_} foreach @missing;
}
sub output_symbol {
my $symbol = shift;
- $symbol = $bincompat5005{$symbol}
- if $define{PERL_BINCOMPAT_5005} and $symbol =~ /^($bincompat5005)$/;
if ($PLATFORM eq 'win32') {
$symbol = "_$symbol" if $CCTYPE eq 'BORLAND';
print "\t$symbol\n";
usethreads=$usethreads use5005threads=$use5005threads useithreads=$useithreads usemultiplicity=$usemultiplicity
useperlio=$useperlio d_sfio=$d_sfio uselargefiles=$uselargefiles usesocks=$usesocks
use64bitint=$use64bitint use64bitall=$use64bitall uselongdouble=$uselongdouble
- usemymalloc=$usemymalloc, bincompat5005=$d_bincompat5005
+ usemymalloc=$usemymalloc, bincompat5005=undef
Compiler:
cc='$cc', ccflags ='$ccflags',
optimize='$optimize',
=item b
-C<baserev>, C<bash>, C<bin>, C<bincompat5005>, C<binexp>, C<bison>,
+C<baserev>, C<bash>, C<bin>, C<binexp>, C<bison>,
C<byacc>, C<byteorder>
=item c
C<d__fwalk>, C<d_access>, C<d_accessx>, C<d_alarm>, C<d_archlib>,
C<d_asctime_r>, C<d_atolf>, C<d_atoll>, C<d_attribut>, C<d_bcmp>,
-C<d_bcopy>, C<d_bincompat5005>, C<d_bsd>, C<d_bsdgetpgrp>, C<d_bsdsetpgrp>,
+C<d_bcopy>, C<d_bsd>, C<d_bsdgetpgrp>, C<d_bsdsetpgrp>,
C<d_bzero>, C<d_casti32>, C<d_castneg>, C<d_charvspr>, C<d_chown>,
C<d_chroot>, C<d_chsize>, C<d_class>, C<d_closedir>, C<d_cmsghdr_s>,
C<d_const>, C<d_crypt>, C<d_crypt_r>, C<d_csh>, C<d_ctermid_r>,
#define BIN "/usr/local/bin" /**/
#define BIN_EXP "" /**/
-/* PERL_BINCOMPAT_5005:
- * This symbol, if defined, indicates that this version of Perl should be
- * binary-compatible with Perl 5.005. This is impossible for builds
- * that use features like threads and multiplicity it is always
- * for those versions.
- */
-/*#define PERL_BINCOMPAT_5005 / **/
-
/* BYTEORDER:
* This symbol holds the hexadecimal constant defined in byteorder,
* in a UV, i.e. 0x1234 or 0x4321 or 0x12345678, etc...
* See INSTALL for how this works.
* The versioned site_perl directory was introduced in 5.005,
* so that is the lowest possible value.
- * Since this can depend on compile time options (such as
- * bincompat) it is set by Configure. Other non-default sources
+ * Since this can depend on compile time options
+ * it is set by Configure. Other non-default sources
* of potential incompatibility, such as multiplicity, threads,
* debugging, 64bits, sfio, etc., are not checked for currently,
* though in principle we could go snooping around in old
archname='unknown'
asctime_r_proto='0'
bin='/usr/local/bin'
-bincompat5005='define'
byteorder='1234'
castflags='0'
charsize='1'
d_attribut='undef'
d_bcmp='undef'
d_bcopy='undef'
-d_bincompat5005='undef'
d_bsd='undef'
d_bsdgetpgrp='undef'
d_bsdsetpgrp='undef'
$d_attribut='undef'
$d_bcmp='undef'
$d_bcopy='undef'
-$d_bincompat5005='undef'
$d_bsdgetpgrp='undef'
$d_bsdsetpgrp='undef'
$d_bzero='undef'
$d_attribut='undef'
$d_bcmp='undef'
$d_bcopy='undef'
-$d_bincompat5005='undef'
$d_bsdgetpgrp='undef'
$d_bsdsetpgrp='undef'
$d_bzero='undef'
baserev='5'
bash=''
bin='~INST_TOP~~INST_VER~\bin~INST_ARCH~'
-bincompat5005='undef'
binexp='~INST_TOP~~INST_VER~\bin~INST_ARCH~'
bison=''
byacc='byacc'
d_attribut='undef'
d_bcmp='undef'
d_bcopy='undef'
-d_bincompat5005='undef'
d_bsd='define'
d_bsdgetpgrp='undef'
d_bsdsetpgrp='undef'
baserev='5'
bash=''
bin='~INST_TOP~~INST_VER~\bin~INST_ARCH~'
-bincompat5005='undef'
binexp='~INST_TOP~~INST_VER~\bin~INST_ARCH~'
bison=''
byacc='byacc'
d_attribut='define'
d_bcmp='undef'
d_bcopy='undef'
-d_bincompat5005='undef'
d_bsd='define'
d_bsdgetpgrp='undef'
d_bsdsetpgrp='undef'
baserev='5'
bash=''
bin='~INST_TOP~~INST_VER~\bin~INST_ARCH~'
-bincompat5005='undef'
binexp='~INST_TOP~~INST_VER~\bin~INST_ARCH~'
bison=''
byacc='byacc'
d_attribut='undef'
d_bcmp='undef'
d_bcopy='undef'
-d_bincompat5005='undef'
d_bsd='define'
d_bsdgetpgrp='undef'
d_bsdsetpgrp='undef'
baserev='5'
bash=''
bin='~INST_TOP~~INST_VER~\bin~INST_ARCH~'
-bincompat5005='undef'
binexp='~INST_TOP~~INST_VER~\bin~INST_ARCH~'
bison=''
byacc='byacc'
d_attribut='undef'
d_bcmp='undef'
d_bcopy='undef'
-d_bincompat5005='undef'
d_bsd='define'
d_bsdgetpgrp='undef'
d_bsdsetpgrp='undef'
baserev='5'
bash=''
bin='~INST_TOP~~INST_VER~\bin~INST_ARCH~'
-bincompat5005='undef'
binexp='~INST_TOP~~INST_VER~\bin~INST_ARCH~'
bison=''
byacc='byacc'
d_attribut='undef'
d_bcmp='undef'
d_bcopy='undef'
-d_bincompat5005='undef'
d_bsd='define'
d_bsdgetpgrp='undef'
d_bsdsetpgrp='undef'