perl: Switch to split configuration files

This replaces the previously used collection of configuration files for every single
architecture in conjunction with hacky overrides, which became an increasing burden to maintain.

Fixes a number of outstanding bugs and oddities, with the most important one being the
previously wrong signal order(as shown by ext/POSIX/t/sigaction.t).

See files/perlconfig.pl's POD and files/README.config for details.

Signed-off-by: Marcel Denia <naoir@gmx.net>
This commit is contained in:
Marcel Denia
2015-08-10 05:00:49 +02:00
parent 7d12c8be58
commit afad970139
35 changed files with 1090 additions and 21148 deletions
+45
View File
@@ -0,0 +1,45 @@
($owrt:libc eq 'glibc') {
perllibs="$perllibs -lbsd"
ldflags="$ldflags -L$owrt:staging_dir/lib"
}
# uclibc does not provide crypt_r(). Enable crypt() usage for glibc builds only
($owrt:libc ne 'glibc') {
crypt_r_proto='0'
i_crypt='undef'
d_crypt='undef'
d_crypt_r='undef'
}
($owrt:libc eq 'musl') {
d_stdio_ptr_lval='undef'
d_stdio_ptr_lval_sets_cnt='undef'
d_stdiobase='undef'
d_stdstdio='undef'
d_getnetbyname_r='undef'
d_getprotobyname_r='undef'
d_getpwent_r='undef'
d_getservent_r='undef'
d_gethostent_r='undef'
d_getnetent_r='undef'
d_getnetbyaddr_r='undef'
d_getprotoent_r='undef'
d_getprotobynumber_r='undef'
d_getgrent_r='undef'
getprotobyname_r='undef'
getpwent_r='undef'
getservent_r='undef'
gethostent_r='undef'
getnetent_r='undef'
getnetbyaddr_r='undef'
getprotoent_r='undef'
getprotobynumber_r='undef'
getgrent_r='undef'
i_fcntl='define'
h_fcntl='true'
d_strerror_r='undef'
}