dslinux/user/perl/ext/POSIX/hints bsdos.pl dynixptx.pl freebsd.pl gnukfreebsd.pl gnuknetbsd.pl linux.pl mint.pl netbsd.pl next_3.pl openbsd.pl sunos_4.pl svr4.pl uts.pl

cayenne dslinux_cayenne at user.in-berlin.de
Mon Dec 4 17:59:38 CET 2006


Update of /cvsroot/dslinux/dslinux/user/perl/ext/POSIX/hints
In directory antilope:/tmp/cvs-serv17422/ext/POSIX/hints

Added Files:
	bsdos.pl dynixptx.pl freebsd.pl gnukfreebsd.pl gnuknetbsd.pl 
	linux.pl mint.pl netbsd.pl next_3.pl openbsd.pl sunos_4.pl 
	svr4.pl uts.pl 
Log Message:
Adding fresh perl source to HEAD to branch from

--- NEW FILE: uts.pl ---
# UTS - Leaving -lm in there results in death of make with the message:
#         LD_RUN_PATH="/usr/ccs/lib" ld  -G -z text POSIX.o \
#         -o ../../lib/auto/POS IX/POSIX.so   -lm
# relocations referenced
#         from file(s)
#         /usr/ccs/lib/libm.a(acos.o)
#               ...

$self->{LIBS} = [''];

--- NEW FILE: dynixptx.pl ---
# Need to add an extra '-lc' to the end to work around a DYNIX/ptx bug
# PR#227670 - linker error on fpgetround()

$self->{LIBS} = ['-ldb -lm -lc'];

--- NEW FILE: svr4.pl ---
# For NCR MP-RAS systems with uname -a output like the following:
#	foo foo 4.0 3.0 3441 Pentium III(TM)-ISA/PCI
#	foo foo 4.0 3.0 4400 Pentium II(TM)-ISA/PCI
#	foo foo 4.2 1.1.2 shg2 386at
# the system needs to explicitly link against -lmw to pull in some
# symbols such as _mwoflocheckl and possibly others.
# For the first two, Configure sets archname='3441-svr4.0' or '4400-svr4.0'.
# The regex below is an attempt to get both systems as well as
# any reasonable future permutations.
# Thanks to Doug Hendricks for the original info.
#  (See hints/svr4.sh for more details.)
#	A. Dougherty  Tue Oct 30 10:20:07 EST 2001
#
if ($Config{'archname'} =~ /[34]4[0-9][0-9]-svr4/) {
    $self->{LIBS} = ['-lm -posix -lcposix -lmw'];
}
# A better NCR MP-RAS test, thanks to W. Geoffrey Rommel, is to
# look for /etc/issue and /etc/.relid.  A. Dougherty, September 16, 2003
elsif( -e '/etc/issue' && -e '/etc/.relid') {
    $self->{LIBS} = ['-lm -posix -lcposix -lmw'];
}
# Not sure what OS this one is.
elsif ($Config{archname} =~ /RM\d\d\d-svr4/) {
    $self->{LIBS} = ['-lm -lc -lposix -lcposix'];
}

--- NEW FILE: next_3.pl ---
# NeXT *does* have setpgid when we use the -posix flag, but
# doesn't when we don't.  The main perl sources are compiled
# without -posix, so the hints/next_3.sh hint file tells Configure
# that  d_setpgid=undef.
$self->{CCFLAGS} = $Config{ccflags} . ' -posix -DHAS_SETPGID' ;

--- NEW FILE: openbsd.pl ---
# BSD platforms have extra fields in struct tm that need to be initialized.
#  XXX A Configure test is needed.
$self->{CCFLAGS} = $Config{ccflags} . ' -DSTRUCT_TM_HASZONE' ;

--- NEW FILE: sunos_4.pl ---
# SunOS 4.1.3 has two extra fields in struct tm.  This works around
# the problem.  Other BSD platforms may have similar problems.
# This state of affairs also persists in glibc2, found
# on linux systems running libc6.
#  XXX A Configure test is needed.

# Although <unistd.h> is inappropriate in general for SunOS, we need it
# in POSIX.xs to get the correct prototype for ttyname().

$self->{CCFLAGS} = $Config{ccflags} . ' -DSTRUCT_TM_HASZONE -DI_UNISTD' ;

--- NEW FILE: linux.pl ---
# libc6, aka glibc2, seems to need STRUCT_TM_HASZONE defined.
# Thanks to Bart Schuller <schuller at Lunatech.com>
# See Message-ID: <19971009002636.50729 at tanglefoot>
#  XXX A Configure test is needed.
$self->{CCFLAGS} = $Config{ccflags} . ' -DSTRUCT_TM_HASZONE -DHINT_SC_EXIST' ;

--- NEW FILE: mint.pl ---
$self->{CCFLAGS} = $Config{ccflags} . ' -DNO_LOCALECONV_GROUPING -DNO_LOCALECONV_MON_GROUPING';


--- NEW FILE: gnukfreebsd.pl ---
do './hints/linux.pl';

--- NEW FILE: freebsd.pl ---
# BSD platforms have extra fields in struct tm that need to be initialized.
#  XXX A Configure test is needed.
$self->{CCFLAGS} = $Config{ccflags} . ' -DSTRUCT_TM_HASZONE' ;

--- NEW FILE: bsdos.pl ---
# BSD platforms have extra fields in struct tm that need to be initialized.
#  XXX A Configure test is needed.
$self->{CCFLAGS} = $Config{ccflags} . ' -DSTRUCT_TM_HASZONE' ;

--- NEW FILE: gnuknetbsd.pl ---
do './hints/linux.pl';

--- NEW FILE: netbsd.pl ---
# BSD platforms have extra fields in struct tm that need to be initialized.
#  XXX A Configure test is needed.
$self->{CCFLAGS} = $Config{ccflags} . ' -DSTRUCT_TM_HASZONE' ;




More information about the dslinux-commit mailing list