dslinux/user/perl/ext/DynaLoader/hints aix.pl gnukfreebsd.pl gnuknetbsd.pl linux.pl netbsd.pl openbsd.pl

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


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

Added Files:
	aix.pl gnukfreebsd.pl gnuknetbsd.pl linux.pl netbsd.pl 
	openbsd.pl 
Log Message:
Adding fresh perl source to HEAD to branch from

--- NEW FILE: aix.pl ---
# See dl_aix.xs for details.
use Config;
if ($Config{libs} =~ /-lC/ && -f '/lib/libC.a') {
    $self->{CCFLAGS} = $Config{ccflags} . ' -DUSE_libC';
    if (-f '/usr/vacpp/include/load.h') {
	$self->{CCFLAGS} .= ' -DUSE_vacpp_load_h';
    } elsif (-f '/usr/ibmcxx/include/load.h') {
	$self->{CCFLAGS} .= ' -DUSE_ibmcxx_load_h';
    } elsif (-f '/usr/lpp/xlC/include/load.h') {
	$self->{CCFLAGS} .= ' -DUSE_xlC_load_h';
    } elsif (-f '/usr/include/load.h') {
	$self->{CCFLAGS} .= ' -DUSE_load_h';
    }
}

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

--- NEW FILE: openbsd.pl ---
# XXX Configure test needed?
# Some OpenBSDs seem to have a dlopen() that won't accept relative paths
$self->{CCFLAGS} = $Config{ccflags} . ' -DDLOPEN_WONT_DO_RELATIVE_PATHS';

--- NEW FILE: linux.pl ---
# XXX Configure test needed.
# Some Linux releases like to hide their <nlist.h>
$self->{CCFLAGS} = $Config{ccflags} . ' -I/usr/include/libelf'
	if -f "/usr/include/libelf/nlist.h";
1;

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

--- NEW FILE: netbsd.pl ---
# XXX Configure test needed?
# Some NetBSDs seem to have a dlopen() that won't accept relative paths
$self->{CCFLAGS} = $Config{ccflags} . ' -DDLOPEN_WONT_DO_RELATIVE_PATHS';




More information about the dslinux-commit mailing list